aboutsummaryrefslogtreecommitdiff
path: root/src/conditionfiletime.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-01-04 23:24:55 +0000
committerMike Buland <eichlan@xagasoft.com>2010-01-04 23:24:55 +0000
commitabe69082514b61181c6bc15a341895c971ecdc43 (patch)
treeffeb8791f5b95ba13c7c05f3c0d434c1755910dd /src/conditionfiletime.cpp
parentff9e70dfa03fa1fb21bbb6d7de5a8fd85f31bba3 (diff)
downloadbuild-abe69082514b61181c6bc15a341895c971ecdc43.tar.gz
build-abe69082514b61181c6bc15a341895c971ecdc43.tar.bz2
build-abe69082514b61181c6bc15a341895c971ecdc43.tar.xz
build-abe69082514b61181c6bc15a341895c971ecdc43.zip
The cache works...really well.
Diffstat (limited to '')
-rw-r--r--src/conditionfiletime.cpp5
1 files changed, 4 insertions, 1 deletions
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 )
25 //sio << "-- Target processed because '" << *j << "' doesn't exist." 25 //sio << "-- Target processed because '" << *j << "' doesn't exist."
26 // << sio.nl; 26 // << sio.nl;
27 // Output doesn't exist 27 // Output doesn't exist
28 rTarget.buildRequires( r );
28 return true; 29 return true;
29 } 30 }
30 } 31 }
@@ -48,10 +49,11 @@ bool ConditionFileTime::shouldExec( class Runner &r, Target &rTarget )
48 { 49 {
49 //sio << "-- Target processed because '" << *j 50 //sio << "-- Target processed because '" << *j
50 // << "' is newer than output." << sio.nl; 51 // << "' is newer than output." << sio.nl;
52 rTarget.buildRequires( r );
51 return true; 53 return true;
52 } 54 }
53 } 55 }
54 rTarget.buildRequires( r ); 56 rTarget.gatherRequires( r );
55 for( StrList::const_iterator j = rTarget.getRequiresList().begin(); 57 for( StrList::const_iterator j = rTarget.getRequiresList().begin();
56 j; j++ ) 58 j; j++ )
57 { 59 {
@@ -60,6 +62,7 @@ bool ConditionFileTime::shouldExec( class Runner &r, Target &rTarget )
60 { 62 {
61 //sio << "-- Target processed because '" << *j 63 //sio << "-- Target processed because '" << *j
62 // << "' is newer than output." << sio.nl; 64 // << "' is newer than output." << sio.nl;
65 rTarget.buildRequires( r );
63 return true; 66 return true;
64 } 67 }
65 } 68 }