X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftool.h;h=ca19c6f17b522cda1565371c60cbc0e97304f3df;hb=c8c51fac9453a677fc3e6932c4730f35e237af89;hp=ec5bf02b37d9fbf29b94eac121c82f0131f7fca8;hpb=f0c0d720edc01f5faa72bb4ff4bf655445842678;p=builder.git diff --git a/source/tool.h b/source/tool.h index ec5bf02..ca19c6f 100644 --- a/source/tool.h +++ b/source/tool.h @@ -137,26 +137,6 @@ public: Task *run(const Target &t) const { return run_func(t); } }; -/** -Intermediate base class for tool facets. For example, a linker may need to -use different commands depending on whether C++ source files are present or -not, but their presence can't be directly determined from the object files. -*/ -class SubTool: public Tool -{ -protected: - Tool &parent; - - SubTool(Tool &t): Tool(t), parent(t) { } - -public: - Target *create_source(const Component &, const Msp::FS::Path &) const override; - Target *create_source(const Msp::FS::Path &) const override; - Target *create_target(const std::vector &, const std::string & = std::string()) override; - Target *create_install(Target &) const override; - std::string create_build_signature(const BuildInfo &) const override; -}; - template void Tool::set_run(Task *(*f)(const T &))