]> git.tdb.fi Git - builder.git/blob - source/compilecommandsgenerator.h
Redesign how tools are run
[builder.git] / source / compilecommandsgenerator.h
1 #ifndef COMPILECOMMANDSGENERATOR_H_
2 #define COMPILECOMMANDSGENERATOR_H_
3
4 #include "tool.h"
5
6 class CompileCommandsJson;
7
8 class CompileCommandsGenerator: public Tool
9 {
10 public:
11         CompileCommandsGenerator(Builder &);
12
13         Target *create_target(const std::vector<Target *> &, const std::string &) override;
14
15 private:
16         static bool _run(const CompileCommandsJson &);
17 };
18
19 #endif