mirror of https://github.com/procxx/kepka.git
Add ccache support
This commit is contained in:
parent
c0072b0d50
commit
8655950638
|
@ -9,6 +9,13 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
find_program(CCACHE ccache)
|
||||||
|
if (CCACHE)
|
||||||
|
message(STATUS "Enabling ccache")
|
||||||
|
set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE})
|
||||||
|
set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE})
|
||||||
|
endif()
|
||||||
|
|
||||||
##======================
|
##======================
|
||||||
## Codegen Tools
|
## Codegen Tools
|
||||||
##======================
|
##======================
|
||||||
|
|
Loading…
Reference in New Issue