+ if(!executable && !command.empty())
+ {
+ executable = builder.get_vfs().find_binary(command);
+ if(!executable)
+ {
+ builder.get_logger().log("problems", "Can't find executable %s for %s", command, tag);
+ problems.push_back(format("Can't find executable %s", command));
+ }
+ }
+}
+
+string Tool::create_build_signature(const BuildInfo &) const
+{
+ if(executable)
+ return format("%s=%s", tag, FS::basename(executable->get_path()));
+ else
+ return string();
+}
+
+
+Target *SubTool::create_source(const Component &c, const FS::Path &p) const
+{
+ return parent.create_source(c, p);
+}
+
+Target *SubTool::create_source(const FS::Path &p) const
+{
+ return parent.create_source(p);
+}
+
+Target *SubTool::create_target(const vector<Target *> &s, const string &a)
+{
+ return parent.create_target(s, a);