return source/arch.get_name()/detail;
}
-void SourcePackage::do_configure(const StringMap &opts, unsigned flag)
-{
- init_config();
-
- config.load();
-
- if(flag && config.update(opts))
- builder.get_logger().log("configure", format("Configuration of %s changed", name));
-
- deps_cache.load();
-
- for(ComponentList::iterator i=components.begin(); i!=components.end(); ++i)
- i->configure(opts, flag);
-}
-
-void SourcePackage::init_config()
-{
-}
-
void SourcePackage::create_build_info()
{
if(build_type)
for(list<Component>::iterator i=components.begin(); i!=components.end(); ++i)
{
+ i->prepare();
i->create_build_info();
if(i->get_type()==Component::LIBRARY)
export_binfo.libs.push_back(i->get_name());
void SourcePackage::create_targets()
{
+ deps_cache.load();
+
bool pc_needed = false;
for(ComponentList::const_iterator i=components.begin(); i!=components.end(); ++i)
{