aboutsummaryrefslogtreecommitdiff
path: root/src/builder.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2006-08-23 22:09:30 +0000
committerMike Buland <eichlan@xagasoft.com>2006-08-23 22:09:30 +0000
commitd2fe7edb2bfea20987a1f69935179fa5fc9f3b37 (patch)
treeee35479f264788bf43b7904f31a528699b53e955 /src/builder.h
parent7a7390337e04d0163b97c1da7bdaa198bacaff72 (diff)
downloadbuild-d2fe7edb2bfea20987a1f69935179fa5fc9f3b37.tar.gz
build-d2fe7edb2bfea20987a1f69935179fa5fc9f3b37.tar.bz2
build-d2fe7edb2bfea20987a1f69935179fa5fc9f3b37.tar.xz
build-d2fe7edb2bfea20987a1f69935179fa5fc9f3b37.zip
Really close...functions are doing their stuff, we have inputs, almost have rules.
Diffstat (limited to 'src/builder.h')
-rw-r--r--src/builder.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/builder.h b/src/builder.h
index 8d72627..367769f 100644
--- a/src/builder.h
+++ b/src/builder.h
@@ -20,6 +20,8 @@ class TargetFactory;
20YY_DECL; 20YY_DECL;
21 21
22typedef std::list<std::string> StringList; 22typedef std::list<std::string> StringList;
23typedef std::list<Function *> FunctionList;
24typedef std::list<Perform *> PerformList;
23 25
24template<class tx, class ty, class tz> 26template<class tx, class ty, class tz>
25class Triplet 27class Triplet
@@ -137,14 +139,14 @@ private: // Rule variables
137 Function *pMatches; 139 Function *pMatches;
138 BuildList lProduces; 140 BuildList lProduces;
139 BuildList lRequires; 141 BuildList lRequires;
140 std::list<Function *> lFilter; 142 FunctionList lFilter;
141 std::list<Perform *> lPerform; 143 PerformList lPerform;
142 }; 144 };
143 145
144 typedef std::list<RuleInfo> RuleTmpList; 146 typedef std::list<RuleInfo> RuleTmpList;
145 RuleTmpList lRuleTmp; 147 RuleTmpList lRuleTmp;
146 148
147public: // Functions for dealing with actions 149public: // Action functions
148 void addAction(); 150 void addAction();
149 void addAction( const char *sName ); 151 void addAction( const char *sName );
150 void addCommand( int nType ); 152 void addCommand( int nType );