X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcompilecommandsgenerator.h;h=e3116f9c839312e5930c56d0c5342c9ea2805a03;hb=d1eb133ab529cdae131be7b150209f03189248f3;hp=a655d944161366a92eec881e015c7e28a94ea2fc;hpb=451ef4f33b5a57dcb56bd7cb671bed359ac86247;p=builder.git diff --git a/source/compilecommandsgenerator.h b/source/compilecommandsgenerator.h index a655d94..e3116f9 100644 --- a/source/compilecommandsgenerator.h +++ b/source/compilecommandsgenerator.h @@ -1,31 +1,20 @@ #ifndef COMPILECOMMANDSGENERATOR_H_ #define COMPILECOMMANDSGENERATOR_H_ -#include "internaltask.h" #include "tool.h" class CompileCommandsJson; class CompileCommandsGenerator: public Tool { -private: - class Worker: public InternalTask::Worker - { - private: - const CompileCommandsJson ⌖ - - public: - Worker(const CompileCommandsJson &t): target(t) { } - - private: - void main() override; - }; - public: CompileCommandsGenerator(Builder &b): Tool(b, "CCJG") { } Target *create_target(const std::vector &, const std::string &) override; Task *run(const Target &) const override; + +private: + static bool _run(const CompileCommandsJson &); }; #endif