From 13307f48710ef92a6fc090d5a9d6ddf11d306689 Mon Sep 17 00:00:00 2001 From: Ritchie Cunningham Date: Sat, 20 Sep 2025 01:18:19 +0100 Subject: [PATCH] [Add] Generate compilation database. --- .gitignore | 1 + Makefile | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3fb4741..b2acbfa 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ build/ *.suo *.user *.clangd/ +.compile_commands.json # For those messy OS'es that like to put files everywhere. .DS_Store diff --git a/Makefile b/Makefile index ac00009..049838d 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ build: config config: @echo "=== Configuring Project. ===" - @cmake -B $(BUILD_DIR) -S . + @cmake -B $(BUILD_DIR) -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON runc: build @echo "=== Running Bettola Client. ==="