add_depend(*i);
}
+/**
+Finds and adds any required libraries to the dependencies.
+*/
void Executable::find_depends()
{
const list<string> &libs=comp.get_build_info().libs;
return Target::build(new Link(builder, *this));;
}
+/**
+Returns the name for the executable. We can't do this in the constructor since
+we need to pass the value to the Target c'tor.
+*/
string Executable::generate_target_name(const Component &c)
{
string prefix,suffix;