]> git.tdb.fi Git - builder.git/blobdiff - source/sourcepackage.cpp
Add support for generating compile_commands.json
[builder.git] / source / sourcepackage.cpp
index c4061a4afbeceae8a153cf45a1b05f0d82530cc3..1a23c4704d04c963677e8036a45b940a3c1467f5 100644 (file)
@@ -9,6 +9,7 @@
 #include "binarycomponent.h"
 #include "binarypackage.h"
 #include "builder.h"
+#include "compilecommandsjson.h"
 #include "datapackcomponent.h"
 #include "file.h"
 #include "installcomponent.h"
@@ -149,6 +150,8 @@ void SourcePackage::do_prepare()
 
        if(arch.get_system()=="windows")
                new VcxProjectFile(builder, *this);
+
+       new CompileCommandsJson(builder, *this);
 }
 
 void SourcePackage::save_caches()