X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftool.h;h=1905555e1818955515a25fe8b1fbca2e5149630a;hb=9ab7e80ccd0a8043609d6a09f4119fa6e1d4ad9c;hp=22fc3b28568293ea3a6b8bdb51faafc0d43da474;hpb=dceec8d95c63aaf4d8d4b367c9846caf9e32a6bf;p=builder.git diff --git a/source/tool.h b/source/tool.h index 22fc3b2..1905555 100644 --- a/source/tool.h +++ b/source/tool.h @@ -13,6 +13,7 @@ class Task; class Tool { public: + typedef std::list SearchPath; typedef std::list SuffixList; protected: @@ -20,6 +21,7 @@ protected: std::string tag; SuffixList input_suffixes; SuffixList aux_suffixes; + SearchPath system_path; Tool(Builder &, const std::string &); public: @@ -29,6 +31,7 @@ public: const SuffixList &get_input_suffixes() const { return input_suffixes; } const SuffixList &get_auxiliary_suffixes() const { return aux_suffixes; } bool accepts_suffix(const std::string &, bool = false) const; + const SearchPath &get_system_path() const { return system_path; } virtual Target *create_source(const Component &, const Msp::FS::Path &) const { return 0; } Target *create_target(Target &, const std::string & = std::string()) const;