diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-08-01 03:09:58 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-08-01 03:09:58 +0000 |
commit | 935bc7d5223883d87f58a6798f4a0ade7df95afc (patch) | |
tree | 83119cd6b407c6e17c21774f1f0cea940d9c948c /src/builder.h | |
parent | 73d53b0962cb19a6d2a7686de658a5540ab07017 (diff) | |
download | build-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/builder.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/builder.h b/src/builder.h index faa82c2..f21e411 100644 --- a/src/builder.h +++ b/src/builder.h | |||
@@ -100,11 +100,16 @@ public: | |||
100 | return mTarget[sName]; | 100 | return mTarget[sName]; |
101 | } | 101 | } |
102 | 102 | ||
103 | std::list<std::string> getRequires( const char *sReq ) | ||
104 | { | ||
105 | return mRequires[sReq]; | ||
106 | } | ||
107 | |||
103 | typedef std::map<std::string, std::string> varmap; | 108 | typedef std::map<std::string, std::string> varmap; |
104 | varmap *regexVars( RegExp *re ); | 109 | varmap *regexVars( RegExp *re ); |
105 | std::string varRepl( const char *sSrc, const char *cont, varmap *mExtra ); | 110 | std::string varRepl( const char *sSrc, const char *cont, varmap *mExtra ); |
106 | private: | ||
107 | 111 | ||
112 | private: | ||
108 | void requiresNormal( const char *sBase, const char *sReq ); | 113 | void requiresNormal( const char *sBase, const char *sReq ); |
109 | void requiresRegexp( const char *sBase, const char *sReq ); | 114 | void requiresRegexp( const char *sBase, const char *sReq ); |
110 | void checkVar( const char *cont, const char *sName ); | 115 | void checkVar( const char *cont, const char *sName ); |
@@ -139,4 +144,6 @@ private: | |||
139 | bool bReqRegexp; | 144 | bool bReqRegexp; |
140 | }; | 145 | }; |
141 | 146 | ||
147 | void cleanList( std::list<std::string> &lst ); | ||
148 | |||
142 | #endif | 149 | #endif |