diff options
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | SConstruct | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index 3fc5557322..3a3e97fdb9 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,4 @@ lib/*/lib/*.lib lib/qtscript-bytearray/*.cc *.vscode +compile_commands.json
\ No newline at end of file diff --git a/SConstruct b/SConstruct index 170977c3be..791258b60f 100644 --- a/SConstruct +++ b/SConstruct @@ -83,6 +83,8 @@ Import('sources') # Produce compile_commands.json, which is used by clang-tidy and related tools. build.env.Tool("compile_commands") build.env.Alias("compiledb", build.env.CompilationDatabase('compile_commands.json')) +# Build compile_commands.json by default. +build.env.Default("compile_commands.json") #Build Vamp minimal plugins #VariantDir("vamp-plugins", "src", duplicate=0) |