diff options
Diffstat (limited to '')
-rw-r--r-- | src/build.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/build.h b/src/build.h index 00acbfc..fe71d30 100644 --- a/src/build.h +++ b/src/build.h | |||
@@ -27,6 +27,11 @@ public: | |||
27 | */ | 27 | */ |
28 | void addTarget( Target *pTarget ); | 28 | void addTarget( Target *pTarget ); |
29 | void addRequires( const std::string &who, const std::string &what ); | 29 | void addRequires( const std::string &who, const std::string &what ); |
30 | void addRule( Rule *pRule ); | ||
31 | |||
32 | void set( const std::string &cont, const std::string &var, const std::string &val ); | ||
33 | void setAdd( const std::string &cont, const std::string &var, const std::string &val ); | ||
34 | std::string getVar( const std::string &cont, const std::string &var ); | ||
30 | 35 | ||
31 | void debugDump(); | 36 | void debugDump(); |
32 | 37 | ||
@@ -34,9 +39,15 @@ private: | |||
34 | typedef std::map<std::string, Target *> TargetMap; | 39 | typedef std::map<std::string, Target *> TargetMap; |
35 | typedef std::list<std::string> StringList; | 40 | typedef std::list<std::string> StringList; |
36 | typedef std::map<std::string, StringList> ReqMap; | 41 | typedef std::map<std::string, StringList> ReqMap; |
42 | typedef std::map<std::string, std::string> VarMap; | ||
43 | typedef std::map<std::string, VarMap> ContextMap; | ||
44 | typedef std::map<std::string, Rule *> RuleMap; | ||
37 | 45 | ||
38 | TargetMap mTarget; | 46 | TargetMap mTarget; |
39 | ReqMap mRequires; | 47 | ReqMap mRequires; |
48 | VarMap mVars; | ||
49 | ContextMap mContVars; | ||
50 | RuleMap mRule; | ||
40 | 51 | ||
41 | //std::map<std::string, Rule *> mRule; | 52 | //std::map<std::string, Rule *> mRule; |
42 | //Action *pActDefault; | 53 | //Action *pActDefault; |