[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:
Justin C. Miller
2022-01-23 17:47:06 -08:00
parent 2750ec8ef9
commit a30ef5b3dc
4 changed files with 17 additions and 3 deletions

1
.gitignore vendored
View File

@@ -12,3 +12,4 @@ sysroot
.peru
__pycache__
/venv
compile_commands.json