1 #ifndef COMPILECOMMANDSGENERATOR_H_
2 #define COMPILECOMMANDSGENERATOR_H_
4 #include "internaltask.h"
7 class CompileCommandsJson;
9 class CompileCommandsGenerator: public Tool
12 class Worker: public InternalTask::Worker
15 const CompileCommandsJson ⌖
18 Worker(const CompileCommandsJson &t): target(t) { }
25 CompileCommandsGenerator(Builder &b): Tool(b, "CCJG") { }
27 Target *create_target(const std::vector<Target *> &, const std::string &) override;
28 Task *run(const Target &) const override;