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.
1 parent 786c0a4 commit 9091bbdCopy full SHA for 9091bbd
CMakeLists.txt
@@ -9,6 +9,9 @@ cmake_policy(SET CMP0091 NEW)
9
# Do not set default MSVC warning flags: https://cmake.org/cmake/help/latest/policy/CMP0092.html
10
cmake_policy(SET CMP0092 NEW)
11
12
+# Export compile commands for other tools, e.g. SonarLint.
13
+set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
14
+
15
# Default to the last updated version from version.txt.
16
file(TO_CMAKE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/version.txt" VERSION_FILE)
17
file(READ "${VERSION_FILE}" LATEST_VERSION)
0 commit comments