对于C代码:
SET(CMAKE_C_COMPILER "ccache")
SET(CMAKE_C_COMPILER_ARG1 "gcc")
对于C++代码:
SET(CMAKE_CXX_COMPILER "ccache")
SET(CMAKE_CXX_COMPILER_ARG1 "g++")
时间: 2024-11-17 00:46:10
对于C代码:
SET(CMAKE_C_COMPILER "ccache")
SET(CMAKE_C_COMPILER_ARG1 "gcc")
对于C++代码:
SET(CMAKE_CXX_COMPILER "ccache")
SET(CMAKE_CXX_COMPILER_ARG1 "g++")