6 #include <msp/fs/path.h>
18 std::list<std::string> input_suffixes;
20 Tool(Builder &, const std::string &);
24 const std::string &get_tag() const { return tag; }
25 const std::list<std::string> &get_input_suffixes() const { return input_suffixes; }
26 bool accepts_suffix(const std::string &) const;
28 virtual Target *create_source(const Component &, const Msp::FS::Path &) const { return 0; }
29 Target *create_target(Target &, const std::string & = std::string()) const;
30 virtual Target *create_target(const std::list<Target *> &, const std::string & = std::string()) const = 0;
31 virtual Task *run(const Target &) const = 0;