X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcomponent.cpp;h=22392f0d91212cd0a01586e4bd1b941d46f8b47b;hb=2842eeda5aa7c143b3ff54d48f8673bbdcb35c75;hp=6d02ad319e690a33be59823edbf4ddc35d85fcb3;hpb=1a46151c99a406123c4ddfc797a7841baf3e4cc2;p=builder.git diff --git a/source/component.cpp b/source/component.cpp index 6d02ad3..22392f0 100644 --- a/source/component.cpp +++ b/source/component.cpp @@ -10,12 +10,18 @@ Component::Component(Package &p, Type t, const string &n): install(false) { } +/** +Tries to resolve all references to packages. +*/ void Component::resolve_refs() { for(PkgRefList::iterator i=requires.begin(); i!=requires.end(); ++i) i->resolve(); } +/** +Prepares the build information for building. +*/ void Component::create_build_info() { build_info.add(pkg.get_build_info()); @@ -24,7 +30,7 @@ void Component::create_build_info() { if(!i->get_package()) continue; - i->get_package()->create_build_info(); + //i->get_package()->create_build_info(); build_info.add(i->get_package()->get_exported_binfo()); }