mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-08-31 22:21:13 +02:00
Added compile_commands.json
For using clangd we need the compile database of compile_commands.json
This commit is contained in:
parent
f0b5bdb1f5
commit
210299b309
2 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,8 @@ project(
|
|||
LANGUAGES CXX
|
||||
)
|
||||
|
||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||
|
||||
# ---- Include guards ----
|
||||
|
||||
if(PROJECT_SOURCE_DIR STREQUAL PROJECT_BINARY_DIR)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue