]> git.tdb.fi Git - builder.git/blob - source/compilecommandsjson.h
Add support for generating compile_commands.json
[builder.git] / source / compilecommandsjson.h
1 #ifndef COMPILECOMMANDSJSON_H_
2 #define COMPILECOMMANDSJSON_H_
3
4 #include "sourcepackage.h"
5 #include "filetarget.h"
6
7 class CompileCommandsJson: public FileTarget
8 {
9 private:
10         
11 public:
12         CompileCommandsJson(Builder &, const SourcePackage &);
13
14         virtual const char *get_type() const { return "CompileCommandsJson"; }
15
16 protected:
17         virtual void find_dependencies();
18 };
19
20 #endif