]> git.tdb.fi Git - builder.git/blobdiff - source/tool.h
Remove the now obsolete SubTool class
[builder.git] / source / tool.h
index ec5bf02b37d9fbf29b94eac121c82f0131f7fca8..ca19c6f17b522cda1565371c60cbc0e97304f3df 100644 (file)
@@ -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<Target *> &, const std::string & = std::string()) override;
-       Target *create_install(Target &) const override;
-       std::string create_build_signature(const BuildInfo &) const override;
-};
-
 
 template<typename T>
 void Tool::set_run(Task *(*f)(const T &))