Skip to content

Commit 95f3efe

Browse files
authored
Merge pull request #460 from tophyr/compile_commands
Create compile_commands.json
2 parents c5d5037 + d20ec81 commit 95f3efe

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ set(CMAKE_CXX_STANDARD 17)
2424
set(CMAKE_CXX_STANDARD_REQUIRED ON)
2525
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
2626
set(CMAKE_CXX_EXTENSIONS OFF)
27+
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
2728

2829
if(FORCE_COLORED_OUTPUT)
2930
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.24)

0 commit comments

Comments
 (0)