- typedef std::map<string,
- std::pair<unsigned long, unsigned long> > DepList;
+ class dep_info {
+ public:
+ /// Previously calculated CRC value
+ unsigned long crc_prev;
+ /// Current CRC value - only re-computed if mtime has changed.
+ unsigned long crc_cur;
+ /// mtime from last time current CRC was calculated.
+ std::time_t mtime_cur;
+ ///
+ bool changed() const;
+ };
+ ///
+ typedef std::map<support::FileName, dep_info> DepList;