对于C代码:
SET(CMAKE_C_COMPILER "ccache")
SET(CMAKE_C_COMPILER_ARG1 "gcc")
对于C++代码:
SET(CMAKE_CXX_COMPILER "ccache")
SET(CMAKE_CXX_COMPILER_ARG1 "g++")
时间: 2025-01-17 22:15:42
对于C代码:
SET(CMAKE_C_COMPILER "ccache")
SET(CMAKE_C_COMPILER_ARG1 "gcc")
对于C++代码:
SET(CMAKE_CXX_COMPILER "ccache")
SET(CMAKE_CXX_COMPILER_ARG1 "g++")