]> git.tdb.fi Git - builder.git/blobdiff - source/sourcefile.cpp
Refactor package configuration
[builder.git] / source / sourcefile.cpp
index ea76efd28a6fd6435e6d9c2a4f74c50a40c83a31..c4eea79eee84fa2b4c76d18c5f8e3619746513d9 100644 (file)
@@ -14,6 +14,10 @@ SourceFile::SourceFile(Builder &b, const Component *c, const string &n):
        comp(c)
 { }
 
+/**
+Parses include directives from the file and looks up the appropriate targets
+from Builder.
+*/
 void SourceFile::find_depends()
 {
        ifstream in(name.c_str());
@@ -33,4 +37,6 @@ void SourceFile::find_depends()
                if(hdr)
                        add_depend(hdr);
        }
+
+       deps_ready=true;
 }