Skip to content

Commit

Permalink
Generate compilation database (aardappel#405)
Browse files Browse the repository at this point in the history
This is useful for usage in combination with clangd Language Server
Protocol in IDEs.
  • Loading branch information
tobiolo authored May 22, 2023
1 parent b7cbd69 commit fc89367
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 @@ -59,6 +59,7 @@ target_include_directories(lobster PUBLIC lobster/include lobster/src lobster/ex
add_library(lobster-impl STATIC src/lobster_impl.cpp)
target_link_libraries(lobster-impl PRIVATE lobster)

set(CMAKE_EXPORT_COMPILE_COMMANDS 1)
set(CMAKE_CXX_CLANG_TIDY clang-tidy -checks=cppcoreguidelines-*,clang-analyzer-*,readability-*,performance-*,portability-*,concurrency-*,modernize-*)
add_executable(
treesheets
Expand Down

0 comments on commit fc89367

Please sign in to comment.