aboutsummaryrefslogtreecommitdiff
path: root/src/build.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/build.h')
-rw-r--r--src/build.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/build.h b/src/build.h
index 77e40fa..d5e6604 100644
--- a/src/build.h
+++ b/src/build.h
@@ -10,6 +10,7 @@
10#include "rule.h" 10#include "rule.h"
11#include "target.h" 11#include "target.h"
12#include "action.h" 12#include "action.h"
13#include "stringproc.h"
13 14
14subExceptionDecl( BuildException ); 15subExceptionDecl( BuildException );
15 16
@@ -36,8 +37,13 @@ public:
36 void setAdd( const std::string &cont, const std::string &var, const std::string &val ); 37 void setAdd( const std::string &cont, const std::string &var, const std::string &val );
37 std::string getVar( const std::string &cont, const std::string &var ); 38 std::string getVar( const std::string &cont, const std::string &var );
38 39
40 Rule *getRule( const std::string &name );
41
39 void debugDump(); 42 void debugDump();
40 43
44 void setStringProc( StringProc *pStrProc );
45 std::string replVars( const std::string &sSrc, const std::string &sCont );
46
41private: 47private:
42 typedef std::map<std::string, Target *> TargetMap; 48 typedef std::map<std::string, Target *> TargetMap;
43 typedef std::list<std::string> StringList; 49 typedef std::list<std::string> StringList;
@@ -53,6 +59,7 @@ private:
53 ContextMap mContVars; 59 ContextMap mContVars;
54 RuleMap mRule; 60 RuleMap mRule;
55 ActionMap mAction; 61 ActionMap mAction;
62 StringProc *pStrProc;
56 63
57 //std::map<std::string, Rule *> mRule; 64 //std::map<std::string, Rule *> mRule;
58 //Action *pActDefault; 65 //Action *pActDefault;