diff options
author | Mike Buland <eichlan@xagasoft.com> | 2006-09-12 00:22:33 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2006-09-12 00:22:33 +0000 |
commit | d19ada0aa88aba1c7b439035c0028440ac860ec3 (patch) | |
tree | fb8cde98650aa66fcdb736b045f541eac1b8b93a /src/targetfile.h | |
parent | 97d529fac68105f0d3d34c699a4ac10489c705e8 (diff) | |
download | build-d19ada0aa88aba1c7b439035c0028440ac860ec3.tar.gz build-d19ada0aa88aba1c7b439035c0028440ac860ec3.tar.bz2 build-d19ada0aa88aba1c7b439035c0028440ac860ec3.tar.xz build-d19ada0aa88aba1c7b439035c0028440ac860ec3.zip |
Build now builds, it has viewers, and dependancy checking, and everything works.
Now we have to add cleaning, caching, and more viewer hooks / viewers.
Diffstat (limited to 'src/targetfile.h')
-rw-r--r-- | src/targetfile.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/targetfile.h b/src/targetfile.h index 37e6770..368e252 100644 --- a/src/targetfile.h +++ b/src/targetfile.h | |||
@@ -2,6 +2,10 @@ | |||
2 | #define TARGET_FILE_H | 2 | #define TARGET_FILE_H |
3 | 3 | ||
4 | #include <stdint.h> | 4 | #include <stdint.h> |
5 | #include <map> | ||
6 | #include <sys/types.h> | ||
7 | #include <sys/stat.h> | ||
8 | #include <unistd.h> | ||
5 | 9 | ||
6 | #include "target.h" | 10 | #include "target.h" |
7 | 11 | ||
@@ -14,8 +18,11 @@ public: | |||
14 | virtual void check( Build &bld ); | 18 | virtual void check( Build &bld ); |
15 | virtual void clean( Build &bld ); | 19 | virtual void clean( Build &bld ); |
16 | 20 | ||
17 | private: | 21 | time_t getTime( class Build &bld, std::string str ); |
22 | void updateTime( std::string str ); | ||
18 | 23 | ||
24 | private: | ||
25 | std::map<std::string, time_t> mTimes; | ||
19 | }; | 26 | }; |
20 | 27 | ||
21 | #endif | 28 | #endif |