We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a4d6775 + 504f604 commit fa80e30Copy full SHA for fa80e30
CMakeLists.txt
@@ -3,6 +3,8 @@ cmake_minimum_required(VERSION 3.5.0)
3
include(CMakeParseArguments)
4
include(CheckCCompilerFlag)
5
include(CheckCXXCompilerFlag)
6
+# Generate compilation database compile_commands.json
7
+set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
8
9
# Default c++ standard used unless otherwise specified in target_compile_features.
10
set(CMAKE_CXX_STANDARD 17 CACHE STRING "the C++ standard to use for this project")
0 commit comments