X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcomponent.cpp;h=97fdacd66ac8f221871052be29e1727ba424b337;hb=74266a6e650f019063cdcd1c9a7bd26d8f99041b;hp=6d02ad319e690a33be59823edbf4ddc35d85fcb3;hpb=1a46151c99a406123c4ddfc797a7841baf3e4cc2;p=builder.git diff --git a/source/component.cpp b/source/component.cpp index 6d02ad3..97fdacd 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());