diff options
Diffstat (limited to 'etc/ccache.cmake')
| -rw-r--r-- | etc/ccache.cmake | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/ccache.cmake b/etc/ccache.cmake new file mode 100644 index 0000000..aeceb8e --- /dev/null +++ b/etc/ccache.cmake @@ -0,0 +1,5 @@ +find_program(CCACHE_PROGRAM ccache) +if(CCACHE_PROGRAM) + set(CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE_PROGRAM}") + message(STATUS "Found ccache: ${CCACHE_PROGRAM} - Compilation will be cached.") +endif()
\ No newline at end of file |
