Skip to content

Commit

Permalink
cmake: Generate compile_commands.json by default
Browse files Browse the repository at this point in the history
  • Loading branch information
zjeffer committed Dec 11, 2023
1 parent dab3d16 commit 1b0ea77
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 @@ -29,6 +29,7 @@ project(

set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON)
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
Expand Down

0 comments on commit 1b0ea77

Please sign in to comment.