We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 05e36e8 + 2061eee commit 6de3d9cCopy full SHA for 6de3d9c
CMakeLists.txt
@@ -263,6 +263,18 @@ else()
263
set(DO_CLANG_TIDY "${CLANG_TIDY_EXE}" )
264
endif()
265
266
+find_program(CCACHE_FOUND ccache)
267
+if(CCACHE_FOUND)
268
+ message(STATUS "Found ccache: ${CCACHE_FOUND}")
269
+ set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
270
+ set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
271
+
272
+ if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
273
+ add_definitions(-Qunused-arguments)
274
+ endif()
275
+endif(CCACHE_FOUND)
276
277
278
# name the executable and all source files
279
add_clang_executable(insights
280
AutoStmtHandler.cpp
0 commit comments