标签:set cache c++ pil mpi compiler gcc compile cmake
对于C代码:
SET(CMAKE_C_COMPILER "ccache")
SET(CMAKE_C_COMPILER_ARG1 "gcc")
对于C++代码:
SET(CMAKE_CXX_COMPILER "ccache")
SET(CMAKE_CXX_COMPILER_ARG1 "g++")
标签:set cache c++ pil mpi compiler gcc compile cmake
原文地址:http://www.cnblogs.com/xf-said/p/7081013.html