aboutsummaryrefslogtreecommitdiff
path: root/src/targetfile.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-09-21 15:21:53 +0000
committerMike Buland <eichlan@xagasoft.com>2006-09-21 15:21:53 +0000
commitd5b78aeaa9af689b52046eb5577624fb6d031835 (patch)
tree43271fd845413fc1913e17e4799b9ccc4aa6002b /src/targetfile.cpp
parent2b24eab3703bedb2aa4f1329fc3c919c869b6e85 (diff)
downloadbuild-d5b78aeaa9af689b52046eb5577624fb6d031835.tar.gz
build-d5b78aeaa9af689b52046eb5577624fb6d031835.tar.bz2
build-d5b78aeaa9af689b52046eb5577624fb6d031835.tar.xz
build-d5b78aeaa9af689b52046eb5577624fb6d031835.zip
Auto target chaining based on requirements is now in place. This means that if
a requirement is set for a target that needs to be built, and that requirement is another target, that target will be processed when it is needed.
Diffstat (limited to 'src/targetfile.cpp')
-rw-r--r--src/targetfile.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/targetfile.cpp b/src/targetfile.cpp
index 6ea83d5..950fc7b 100644
--- a/src/targetfile.cpp
+++ b/src/targetfile.cpp
@@ -32,6 +32,7 @@ void TargetFile::check( Build &bld )
32 bool bExtras = false; 32 bool bExtras = false;
33 for( StringList::iterator j = reqs.begin(); j != reqs.end(); j++ ) 33 for( StringList::iterator j = reqs.begin(); j != reqs.end(); j++ )
34 { 34 {
35 bld.chainTarget( *j );
35 if( getTime( bld, *j ) > tTarget ) 36 if( getTime( bld, *j ) > tTarget )
36 { 37 {
37 bld.getView()->beginPerform( *i ); 38 bld.getView()->beginPerform( *i );