From: Mikko Rasa Date: Wed, 1 Oct 2014 22:28:49 +0000 (+0300) Subject: Also prepare transitive dependencies X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=75b778b75c14df7b93ab2efbd55bc65b80a72c15;p=builder.git Also prepare transitive dependencies Mostly to make analyzer report correct results when source files are given on command line. --- diff --git a/source/target.cpp b/source/target.cpp index 0d8c2da..f9fe16b 100644 --- a/source/target.cpp +++ b/source/target.cpp @@ -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)