]> git.tdb.fi Git - builder.git/blobdiff - source/compilecommandsjson.h
Add support for generating compile_commands.json
[builder.git] / source / compilecommandsjson.h
diff --git a/source/compilecommandsjson.h b/source/compilecommandsjson.h
new file mode 100644 (file)
index 0000000..1d170c5
--- /dev/null
@@ -0,0 +1,20 @@
+#ifndef COMPILECOMMANDSJSON_H_
+#define COMPILECOMMANDSJSON_H_
+
+#include "sourcepackage.h"
+#include "filetarget.h"
+
+class CompileCommandsJson: public FileTarget
+{
+private:
+       
+public:
+       CompileCommandsJson(Builder &, const SourcePackage &);
+
+       virtual const char *get_type() const { return "CompileCommandsJson"; }
+
+protected:
+       virtual void find_dependencies();
+};
+
+#endif