1
0
Fork 0
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:
barak diker 2023-04-30 03:12:54 +03:00
parent f0b5bdb1f5
commit 210299b309
2 changed files with 4 additions and 0 deletions

View file

@ -9,6 +9,8 @@ project(
LANGUAGES CXX
)
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
# ---- Include guards ----
if(PROJECT_SOURCE_DIR STREQUAL PROJECT_BINARY_DIR)