[Add] Generate compilation database.
This commit is contained in:
parent
df755ff1f1
commit
13307f4871
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,6 +8,7 @@ build/
|
|||||||
*.suo
|
*.suo
|
||||||
*.user
|
*.user
|
||||||
*.clangd/
|
*.clangd/
|
||||||
|
.compile_commands.json
|
||||||
|
|
||||||
# For those messy OS'es that like to put files everywhere.
|
# For those messy OS'es that like to put files everywhere.
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
|||||||
2
Makefile
2
Makefile
@ -19,7 +19,7 @@ build: config
|
|||||||
|
|
||||||
config:
|
config:
|
||||||
@echo "=== Configuring Project. ==="
|
@echo "=== Configuring Project. ==="
|
||||||
@cmake -B $(BUILD_DIR) -S .
|
@cmake -B $(BUILD_DIR) -S . -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
|
||||||
|
|
||||||
runc: build
|
runc: build
|
||||||
@echo "=== Running Bettola Client. ==="
|
@echo "=== Running Bettola Client. ==="
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user