Skip to content

Commit

Permalink
feature,cmake: Export compile commands (#263)
Browse files Browse the repository at this point in the history
Added flag to export comile commands into build folder
This generates a Clang compilation database normally used for editor
integration or Clang refactoring tools
  • Loading branch information
braw-lee authored Nov 16, 2023
1 parent c76006c commit f9124b2
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 @@ -5,6 +5,7 @@ project(${PROJECT_NAME} CXX)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED YES)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

option(BUILD_FAKER_TESTS DEFAULT ON)

Expand Down

0 comments on commit f9124b2

Please sign in to comment.