SuffixList aux_suffixes;
SearchPath system_path;
bool prepared;
+ std::list<std::string> problems;
Tool(Builder &, const std::string &);
Tool(Builder &, const Architecture &, const std::string &);
const std::string &get_tag() const { return tag; }
+ /** Returns the architecture this tool build for. May return null if the
+ tool is architecture-agnostic. */
+ const Architecture *get_architecture() const { return architecture; }
+
/** Returns a target for the tool's own executable. If the tool does not
use an external program, returns null. */
FileTarget *get_executable() const { return executable; }
void set_executable(const std::string &command, bool cross = false);
public:
+ const std::list<std::string> &get_problems() const { return problems; }
+
/** Invokes the tool to build a target. This should not be called directly;
use Target::build() instead. */
virtual Task *run(const Target &) const = 0;