aboutsummaryrefslogtreecommitdiff
path: root/src/rule.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2009-12-21 23:52:22 +0000
committerMike Buland <eichlan@xagasoft.com>2009-12-21 23:52:22 +0000
commitb87c8d2eb4f0c7fb25cee10e8fdb2c8331343f8c (patch)
treedfd82e31b0da2e48482f00fb3061dfdcd61e7c9d /src/rule.h
parent97c0fcbbef19012f825cba0fc3f16037322ce84c (diff)
downloadbuild-b87c8d2eb4f0c7fb25cee10e8fdb2c8331343f8c.tar.gz
build-b87c8d2eb4f0c7fb25cee10e8fdb2c8331343f8c.tar.bz2
build-b87c8d2eb4f0c7fb25cee10e8fdb2c8331343f8c.tar.xz
build-b87c8d2eb4f0c7fb25cee10e8fdb2c8331343f8c.zip
Wow, that was aweful. There was a horrible problem with rule generated targets
not getting the variables from the parent target.
Diffstat (limited to '')
-rw-r--r--src/rule.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rule.h b/src/rule.h
index a3c9344..5344d02 100644
--- a/src/rule.h
+++ b/src/rule.h
@@ -22,7 +22,8 @@ public:
22 void addProfile( const AstBranch *pProfile ); 22 void addProfile( const AstBranch *pProfile );
23 23
24 void prepTarget( class Target *pTarget ); 24 void prepTarget( class Target *pTarget );
25 class Target *createTarget( class Runner &r, const Bu::FString &sInput ); 25 class Target *createTarget( class Runner &r, const Bu::FString &sInput,
26 class Target *pParent );
26 bool ruleMatches( class Runner &r, const Bu::FString &sInput ); 27 bool ruleMatches( class Runner &r, const Bu::FString &sInput );
27 28
28 void addTag( const Bu::FString &sTag ); 29 void addTag( const Bu::FString &sTag );