From cde96a39f676fa0a1ac4b51144cfe2498f14cced Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Fri, 31 Mar 2023 15:01:24 +0200 Subject: [PATCH] Remove test code for ccache --- CMakeLists.txt | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b6609b597a..ae3154c095 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -44,20 +44,6 @@ set(CMAKE_CXX_STANDARD 20) set(CMAKE_CXX_STANDARD_REQUIRED ON) 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 # ##############################################################################