aboutsummaryrefslogtreecommitdiff
path: root/src/build.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-09-20 18:56:49 +0000
committerMike Buland <eichlan@xagasoft.com>2006-09-20 18:56:49 +0000
commit85539c8c262c0c9e227c87fd1de02c53c163b7d8 (patch)
treeb6f96899ca745c157a6de93ad27013416976fc06 /src/build.h
parent5a32418a040e967887aa6e01e41abc22932471db (diff)
downloadbuild-85539c8c262c0c9e227c87fd1de02c53c163b7d8.tar.gz
build-85539c8c262c0c9e227c87fd1de02c53c163b7d8.tar.bz2
build-85539c8c262c0c9e227c87fd1de02c53c163b7d8.tar.xz
build-85539c8c262c0c9e227c87fd1de02c53c163b7d8.zip
Changed the api for variable replacement contexts. There can now be multiple
levels of contextual inheritance, so now sub-targets automatically get their parent target's context variables, if they need them.
Diffstat (limited to '')
-rw-r--r--src/build.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build.h b/src/build.h
index e0f60ec..82e4998 100644
--- a/src/build.h
+++ b/src/build.h
@@ -46,14 +46,14 @@ public:
46 46
47 void set( const std::string &cont, const std::string &var, const std::string &val ); 47 void set( const std::string &cont, const std::string &var, const std::string &val );
48 void setAdd( const std::string &cont, const std::string &var, const std::string &val ); 48 void setAdd( const std::string &cont, const std::string &var, const std::string &val );
49 std::string getVar( const std::string &cont, const std::string &var, VarMap *mExtra ); 49 std::string getVar( const StringList *cont, const std::string &var, VarMap *mExtra );
50 50
51 Rule *getRule( const std::string &name ); 51 Rule *getRule( const std::string &name );
52 52
53 void debugDump(); 53 void debugDump();
54 54
55 void setStringProc( StringProc *pStrProc ); 55 void setStringProc( StringProc *pStrProc );
56 std::string replVars( const std::string &sSrc, const std::string &sCont, VarMap *mExtra ); 56 std::string replVars( const std::string &sSrc, const StringList *pCont, VarMap *mExtra );
57 RuleList findChainRules( Rule *pHead ); 57 RuleList findChainRules( Rule *pHead );
58 StringList &getRequires( std::string sName ); 58 StringList &getRequires( std::string sName );
59 59