Disable ccache script

This commit is contained in:
Andrea Cavalli 2023-08-05 22:51:15 +02:00
parent 06304b252c
commit 640a6687bf

View File

@ -73,15 +73,15 @@ if (POLICY CMP0069)
endif() endif()
# Configure CCache if available # Configure CCache if available
find_program(CCACHE_FOUND ccache) #find_program(CCACHE_FOUND ccache)
#set(CCACHE_FOUND 0) #set(CCACHE_FOUND 0)
if (CCACHE_FOUND) #if (CCACHE_FOUND)
message(STATUS "Found ccache") # message(STATUS "Found ccache")
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache) # set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache) # set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
else() #else()
message(STATUS "Could NOT find ccache (this is NOT an error)") # message(STATUS "Could NOT find ccache (this is NOT an error)")
endif() #endif()
set(MEMPROF "" CACHE STRING "Use one of \"ON\", \"FAST\" or \"SAFE\" to enable memory profiling. \ set(MEMPROF "" CACHE STRING "Use one of \"ON\", \"FAST\" or \"SAFE\" to enable memory profiling. \
Works under macOS and Linux when compiled using glibc. \ Works under macOS and Linux when compiled using glibc. \