From d2fe7edb2bfea20987a1f69935179fa5fc9f3b37 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 23 Aug 2006 22:09:30 +0000 Subject: Really close...functions are doing their stuff, we have inputs, almost have rules. --- src/build.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/build.h') 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: */ void addTarget( Target *pTarget ); void addRequires( const std::string &who, const std::string &what ); + void addRule( Rule *pRule ); + + void set( const std::string &cont, const std::string &var, const std::string &val ); + void setAdd( const std::string &cont, const std::string &var, const std::string &val ); + std::string getVar( const std::string &cont, const std::string &var ); void debugDump(); @@ -34,9 +39,15 @@ private: typedef std::map TargetMap; typedef std::list StringList; typedef std::map ReqMap; + typedef std::map VarMap; + typedef std::map ContextMap; + typedef std::map RuleMap; TargetMap mTarget; ReqMap mRequires; + VarMap mVars; + ContextMap mContVars; + RuleMap mRule; //std::map mRule; //Action *pActDefault; -- cgit v1.2.3