aboutsummaryrefslogtreecommitdiff
path: root/src/filetarget.cpp
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-08-01 03:09:58 +0000
committerMike Buland <eichlan@xagasoft.com>2006-08-01 03:09:58 +0000
commit935bc7d5223883d87f58a6798f4a0ade7df95afc (patch)
tree83119cd6b407c6e17c21774f1f0cea940d9c948c /src/filetarget.cpp
parent73d53b0962cb19a6d2a7686de658a5540ab07017 (diff)
downloadbuild-935bc7d5223883d87f58a6798f4a0ade7df95afc.tar.gz
build-935bc7d5223883d87f58a6798f4a0ade7df95afc.tar.bz2
build-935bc7d5223883d87f58a6798f4a0ade7df95afc.tar.xz
build-935bc7d5223883d87f58a6798f4a0ade7df95afc.zip
It actually builds, now it just needs dependancy tracking, and maybe auto-target
check triggering.
Diffstat (limited to '')
-rw-r--r--src/filetarget.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/filetarget.cpp b/src/filetarget.cpp
index 3fefd9f..1880c35 100644
--- a/src/filetarget.cpp
+++ b/src/filetarget.cpp
@@ -70,10 +70,18 @@ void FileTarget::check( Builder &bld )
70{ 70{
71 Rule *pRule = bld.getRule( sRule ); 71 Rule *pRule = bld.getRule( sRule );
72 72
73 std::list<std::string> tmp = pRule->execute( bld, lInput, getName() ); 73 std::list<Perform *> perf;
74 std::list<std::string> tmp = pRule->execute( bld, lInput, perf, getName() );
74 lOutput.insert( lOutput.end(), tmp.begin(), tmp.end() ); 75 lOutput.insert( lOutput.end(), tmp.begin(), tmp.end() );
75 76
76 bld.processRequires( lInput ); 77 bld.processRequires( lOutput );
78
79 for( std::list<Perform *>::iterator i = perf.begin();
80 i != perf.end(); i++ )
81 {
82 std::list<std::string> lReqs = bld.getRequires( (*i)->getTarget() );
83
84 }
77} 85}
78 86
79void FileTarget::clean( Builder &bld ) 87void FileTarget::clean( Builder &bld )