summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorRJ Skerry-Ryan <rryan@mixxx.org>2018-10-17 09:08:46 -0700
committerRJ Skerry-Ryan <rryan@mixxx.org>2018-10-17 09:08:46 -0700
commit8d2d8529916e8e32e263633166f7705c714d7b60 (patch)
tree41c2930dd36fc36bed3fc7361bcd5c0727971123 /SConstruct
parentbde1cee221f21d9c110ed856da88474ecddd2c06 (diff)
Build compile_commands.json by default and add it to the .gitignore.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct2
1 files changed, 2 insertions, 0 deletions
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)