[build] Update compile_commands.json when building
The compile_commands.json database is used by clangd to understand the compilation settings of the project. Keep this up to date by making ninja update it as part of the build, and have it depend on all build and module files.
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -12,3 +12,4 @@ sysroot
|
||||
.peru
|
||||
__pycache__
|
||||
/venv
|
||||
compile_commands.json
|
||||
|
||||
Reference in New Issue
Block a user