Remove test code for ccache

This commit is contained in:
Magne Sjaastad 2023-03-31 15:01:24 +02:00
parent ee1b363ae0
commit cde96a39f6

View File

@ -44,20 +44,6 @@ set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF) set(CMAKE_CXX_EXTENSIONS OFF)
# ##############################################################################
# OPTIONAL: Configuration of ccache for MSVC
# ##############################################################################
find_program(ccache_exe ccache)
if(ccache_exe)
file(COPY_FILE ${ccache_exe} ${CMAKE_BINARY_DIR}/cl.exe ONLY_IF_DIFFERENT)
set(CMAKE_VS_GLOBALS
"CLToolExe=cl.exe" "CLToolPath=${CMAKE_BINARY_DIR}"
"TrackFileAccess=false" "UseMultiToolTask=true"
"DebugInformationFormat=OldStyle"
)
endif()
# ############################################################################## # ##############################################################################
# Setup the main platform defines # Setup the main platform defines
# ############################################################################## # ##############################################################################