From abe69082514b61181c6bc15a341895c971ecdc43 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 4 Jan 2010 23:24:55 +0000 Subject: The cache works...really well. --- src/conditionfiletime.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/conditionfiletime.cpp') diff --git a/src/conditionfiletime.cpp b/src/conditionfiletime.cpp index 224caf1..148ffac 100644 --- a/src/conditionfiletime.cpp +++ b/src/conditionfiletime.cpp @@ -25,6 +25,7 @@ bool ConditionFileTime::shouldExec( class Runner &r, Target &rTarget ) //sio << "-- Target processed because '" << *j << "' doesn't exist." // << sio.nl; // Output doesn't exist + rTarget.buildRequires( r ); return true; } } @@ -48,10 +49,11 @@ bool ConditionFileTime::shouldExec( class Runner &r, Target &rTarget ) { //sio << "-- Target processed because '" << *j // << "' is newer than output." << sio.nl; + rTarget.buildRequires( r ); return true; } } - rTarget.buildRequires( r ); + rTarget.gatherRequires( r ); for( StrList::const_iterator j = rTarget.getRequiresList().begin(); j; j++ ) { @@ -60,6 +62,7 @@ bool ConditionFileTime::shouldExec( class Runner &r, Target &rTarget ) { //sio << "-- Target processed because '" << *j // << "' is newer than output." << sio.nl; + rTarget.buildRequires( r ); return true; } } -- cgit v1.2.3