6 #include <msp/fs/path.h>
16 typedef std::list<Msp::FS::Path> SearchPath;
17 typedef std::list<std::string> SuffixList;
22 SuffixList input_suffixes;
23 SuffixList aux_suffixes;
24 SearchPath system_path;
26 Tool(Builder &, const std::string &);
30 const std::string &get_tag() const { return tag; }
31 const SuffixList &get_input_suffixes() const { return input_suffixes; }
32 const SuffixList &get_auxiliary_suffixes() const { return aux_suffixes; }
33 bool accepts_suffix(const std::string &, bool = false) const;
34 const SearchPath &get_system_path() const { return system_path; }
36 virtual Target *create_source(const Component &, const Msp::FS::Path &) const { return 0; }
37 Target *create_target(Target &, const std::string & = std::string()) const;
38 virtual Target *create_target(const std::list<Target *> &, const std::string & = std::string()) const = 0;
39 virtual Task *run(const Target &) const = 0;