aboutsummaryrefslogtreecommitdiff
path: root/src/build.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/build.h')
-rw-r--r--src/build.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/build.h b/src/build.h
index a35b8e2..1477938 100644
--- a/src/build.h
+++ b/src/build.h
@@ -11,6 +11,7 @@
11#include "target.h" 11#include "target.h"
12#include "action.h" 12#include "action.h"
13#include "stringproc.h" 13#include "stringproc.h"
14#include "cache.h"
14 15
15subExceptionDecl( BuildException ); 16subExceptionDecl( BuildException );
16typedef std::map<std::string, std::string> VarMap; 17typedef std::map<std::string, std::string> VarMap;
@@ -66,6 +67,10 @@ public:
66 return mTarget; 67 return mTarget;
67 } 68 }
68 69
70 void setCache( const std::string &sFileName );
71 bool getCached( const std::string &sID, int nTime, StringList &lOut );
72 void updateCache( const std::string &sID, FunctionList &lFunc, StringList &lOut );
73
69private: 74private:
70 TargetMap mTarget; 75 TargetMap mTarget;
71 ReqMap mRequires; 76 ReqMap mRequires;
@@ -75,6 +80,9 @@ private:
75 ActionMap mAction; 80 ActionMap mAction;
76 StringProc *pStrProc; 81 StringProc *pStrProc;
77 Viewer *pView; 82 Viewer *pView;
83 Cache cRequires;
84 bool bCacheUpdated;
85 std::string sCacheName;
78 86
79 //std::map<std::string, Rule *> mRule; 87 //std::map<std::string, Rule *> mRule;
80 //Action *pActDefault; 88 //Action *pActDefault;