1.设置ccache缓存最大值5个G:ccache -M 5G 2.用make -j8编译的伙伴,在CMakeList中增加两句,添加位置在此句之上(SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -std=gnu++0x" )): SET(CMAKE_CXX_COMPILER "ccache") SET(CMAKE_CXX_COMPILER_ARG1 "g++")...