Skip to content

Commit

Permalink
Generate compile_commands.json while building
Browse files Browse the repository at this point in the history
  • Loading branch information
padenot committed Aug 25, 2023
1 parent 46f10c2 commit 3f86a06
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 @@ -21,6 +21,7 @@ endif()
set(CMAKE_C_STANDARD 99)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

if(USE_SANITIZERS)
if(NOT COMMAND add_sanitizers)
Expand Down

0 comments on commit 3f86a06

Please sign in to comment.