Skip to content

Commit

Permalink
Merge pull request #460 from tophyr/compile_commands
Browse files Browse the repository at this point in the history
Create compile_commands.json
  • Loading branch information
Lgt2x authored Jun 25, 2024
2 parents c5d5037 + d20ec81 commit 95f3efe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

if(FORCE_COLORED_OUTPUT)
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.24)
Expand Down

0 comments on commit 95f3efe

Please sign in to comment.