aboutsummaryrefslogtreecommitdiff
path: root/src/build.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/build.h')
-rw-r--r--src/build.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/build.h b/src/build.h
index dd8c11b..768d211 100644
--- a/src/build.h
+++ b/src/build.h
@@ -22,6 +22,8 @@ typedef std::map<std::string, VarMap> ContextMap;
22typedef std::map<std::string, Rule *> RuleMap; 22typedef std::map<std::string, Rule *> RuleMap;
23typedef std::list<Rule *> RuleList; 23typedef std::list<Rule *> RuleList;
24typedef std::map<std::string, Action *> ActionMap; 24typedef std::map<std::string, Action *> ActionMap;
25typedef std::list<Target *> TargetList;
26typedef std::map<std::string, TargetList> GroupMap;
25 27
26class Viewer; 28class Viewer;
27 29
@@ -43,6 +45,7 @@ public:
43 void addRequires( const std::string &who, const std::string &what ); 45 void addRequires( const std::string &who, const std::string &what );
44 void addRule( Rule *pRule ); 46 void addRule( Rule *pRule );
45 void addAction( Action *pAction ); 47 void addAction( Action *pAction );
48 void addToGroup( const std::string &sGroup, Target *pTarget );
46 49
47 void set( const std::string &cont, const std::string &var, const std::string &val ); 50 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 ); 51 void setAdd( const std::string &cont, const std::string &var, const std::string &val );
@@ -92,6 +95,7 @@ private:
92 Cache cRequires; 95 Cache cRequires;
93 bool bCacheUpdated; 96 bool bCacheUpdated;
94 std::string sCacheName; 97 std::string sCacheName;
98 GroupMap mGroup;
95 99
96 //std::map<std::string, Rule *> mRule; 100 //std::map<std::string, Rule *> mRule;
97 //Action *pActDefault; 101 //Action *pActDefault;