We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a782b07 commit 73ad50bCopy full SHA for 73ad50b
1 file changed
CMakeLists.txt
@@ -14,6 +14,12 @@ option(OPENCALIBRATION_CLANG_TIDY "Run clang-tidy during compilation" OFF)
14
15
# =====================================
16
17
+find_program(CCACHE_PROGRAM ccache)
18
+if(CCACHE_PROGRAM)
19
+ set(CMAKE_C_COMPILER_LAUNCHER "${CCACHE_PROGRAM}")
20
+ set(CMAKE_CXX_COMPILER_LAUNCHER "${CCACHE_PROGRAM}")
21
+endif()
22
+
23
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
24
25
set(CMAKE_CXX_STANDARD 17)
0 commit comments