optimize = bi.optimize;
strip = bi.strip;
}
+
+ unique();
}
void BuildInfo::unique()
The update level determines what information is updated. */
void update_from(const BuildInfo &, UpdateLevel = LOCAL);
+private:
/** Makes sure there are no duplicate entries in the lists. For warnings,
contradicting flags are eliminated and the last one stays in effect. */
void unique();
if(type==PROGRAM)
build_info.strip = lexical_cast<bool>(pkg.get_config().get_option("strip").value);
-
- build_info.unique();
}
void Component::create_targets() const
if(i->eval())
build_info.update_from(i->get_build_info());
- build_info.unique();
-
for(list<Component>::iterator i=components.begin(); i!=components.end(); ++i)
{
i->create_build_info();
if(i->get_type()==Component::LIBRARY)
export_binfo.libs.push_back(i->get_name());
}
-
- export_binfo.unique();
}