We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c4b0bae + 98cf8d2 commit d280b14Copy full SHA for d280b14
Runtimes/Core/cmake/caches/sccache.cmake
@@ -0,0 +1,7 @@
1
+find_program(SCCACHE_EXECUTABLE sccache)
2
+
3
+if(SCCACHE_EXECUTABLE)
4
+ set(CMAKE_C_COMPILER_LAUNCHER "${SCCACHE_EXECUTABLE}" CACHE FILEPATH "")
5
+ set(CMAKE_CXX_COMPILER_LAUNCHER "${SCCACHE_EXECUTABLE}" CACHE FILEPATH "")
6
+ message(STATUS "sccache enabled")
7
+endif()
0 commit comments