| 51 | } |
| 52 | |
| 53 | bool cmFileTimeCache::DifferS(std::string const& f1, std::string const& f2) |
| 54 | { |
| 55 | // Get the modification time for each file. |
| 56 | cmFileTime ft1; |
| 57 | cmFileTime ft2; |
| 58 | if (this->Load(f1, ft1) && this->Load(f2, ft2)) { |
| 59 | // Compare the two modification times. |
| 60 | return ft1.DifferS(ft2); |
| 61 | } |
| 62 | // No comparison available. Default to different times. |
| 63 | return true; |
| 64 | } |