const Component *component;
std::string name;
- const Tool *tool;
+ Tool *tool;
State state;
std::string rebuild_reason;
the function recursively to find the final target. */
virtual Target *get_real_target() { return this; }
- void set_tool(const Tool &);
+ void set_tool(Tool &);
/** Returns the tool used to build the target. To actually build it, call
the build() function. */