Skip to content

Commit

Permalink
CMakeLists.txt: enable output of compile commands during generation. (#…
Browse files Browse the repository at this point in the history
…48)

Signed-off-by: Junbo Zheng <[email protected]>
  • Loading branch information
Junbo-Zheng authored May 7, 2024
1 parent 3a9268a commit 16801ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake-modules")

set(CMAKE_C_STANDARD 11)

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

option(BUILD_TESTS "Build and run tests" OFF)
option(TESTS_COV "Run coverage on tests" OFF)
option(BUILD_SINGLE_HEADER "Build single-header version" OFF)
Expand Down

0 comments on commit 16801ec

Please sign in to comment.