]> git.tdb.fi Git - builder.git/commitdiff
Also prepare transitive dependencies
authorMikko Rasa <tdb@tdb.fi>
Wed, 1 Oct 2014 22:28:49 +0000 (01:28 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 1 Oct 2014 22:28:49 +0000 (01:28 +0300)
Mostly to make analyzer report correct results when source files are
given on command line.

source/target.cpp

index 0d8c2da0d81ecc8b5ec3621e4a3a2d2aa86eac19..f9fe16b28720c2f3a9628fd99ea27faeabd35a1d 100644 (file)
@@ -140,6 +140,8 @@ void Target::prepare()
                (*i)->prepare();
                broken |= (*i)->is_broken();
        }
+       for(Dependencies::iterator i=trans_depends.begin(); i!=trans_depends.end(); ++i)
+               (*i)->prepare();
 
        check_rebuild();
        if(broken)