mirror of
https://github.com/wolfpld/tracy
synced 2025-05-03 14:03:52 +00:00
Use ccache if available.
This commit is contained in:
parent
48efd98df7
commit
b04dfcd43d
@ -51,6 +51,12 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND CMAKE_SYSTEM_NAME STREQUAL "Linux"
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
find_program(CCACHE ccache)
|
||||||
|
if(CCACHE)
|
||||||
|
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
|
||||||
|
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
|
||||||
|
endif()
|
||||||
|
|
||||||
file(GENERATE OUTPUT .gitignore CONTENT "*")
|
file(GENERATE OUTPUT .gitignore CONTENT "*")
|
||||||
|
|
||||||
set(CMAKE_COLOR_DIAGNOSTICS ON)
|
set(CMAKE_COLOR_DIAGNOSTICS ON)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user