]> git.tdb.fi Git - builder.git/blobdiff - source/tool.h
Allow sources to be created without a component
[builder.git] / source / tool.h
index 1905555e1818955515a25fe8b1fbca2e5149630a..c302f3cffb432949706d4967a3ec18344e273738 100644 (file)
@@ -34,6 +34,7 @@ public:
        const SearchPath &get_system_path() const { return system_path; }
 
        virtual Target *create_source(const Component &, const Msp::FS::Path &) const { return 0; }
+       virtual Target *create_source(const Msp::FS::Path &) const { return 0; }
        Target *create_target(Target &, const std::string & = std::string()) const;
        virtual Target *create_target(const std::list<Target *> &, const std::string & = std::string()) const = 0;
        virtual Task *run(const Target &) const = 0;