summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorSebastian Holtermann <sebholt@xwmw.org>2019-03-14 16:22:15 (GMT)
committerSebastian Holtermann <sebholt@xwmw.org>2019-03-18 14:09:11 (GMT)
commit5536cec46e9af9af3ee5756e59b57bcb7fa23e44 (patch)
tree77f7ada4e645560d4094bf20ca8c3f40e2ba3b16 /Source/cmake.cxx
parent98d48469534f7a491b8c358d513472806c858d22 (diff)
downloadCMake-5536cec46e9af9af3ee5756e59b57bcb7fa23e44.zip
CMake-5536cec46e9af9af3ee5756e59b57bcb7fa23e44.tar.gz
CMake-5536cec46e9af9af3ee5756e59b57bcb7fa23e44.tar.bz2
Rename cmFileTimeCache::FileTimeCompare to cmFileTimeCache::Compare
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx9
1 files changed, 4 insertions, 5 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index f2484b3..ff8dc43 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -2139,7 +2139,7 @@ int cmake::CheckBuildSystem()
std::string dep_newest = *dep++;
for (; dep != depends.end(); ++dep) {
int result = 0;
- if (this->FileTimeCache->FileTimeCompare(dep_newest, *dep, &result)) {
+ if (this->FileTimeCache->Compare(dep_newest, *dep, &result)) {
if (result < 0) {
dep_newest = *dep;
}
@@ -2158,7 +2158,7 @@ int cmake::CheckBuildSystem()
std::string out_oldest = *out++;
for (; out != outputs.end(); ++out) {
int result = 0;
- if (this->FileTimeCache->FileTimeCompare(out_oldest, *out, &result)) {
+ if (this->FileTimeCache->Compare(out_oldest, *out, &result)) {
if (result > 0) {
out_oldest = *out;
}
@@ -2175,8 +2175,7 @@ int cmake::CheckBuildSystem()
// If any output is older than any dependency then rerun.
{
int result = 0;
- if (!this->FileTimeCache->FileTimeCompare(out_oldest, dep_newest,
- &result) ||
+ if (!this->FileTimeCache->Compare(out_oldest, dep_newest, &result) ||
result < 0) {
if (verbose) {
std::ostringstream msg;
@@ -2436,7 +2435,7 @@ static bool cmakeCheckStampFile(const std::string& stampName)
while (cmSystemTools::GetLineFromStream(fin, dep)) {
int result;
if (!dep.empty() && dep[0] != '#' &&
- (!ftc.FileTimeCompare(stampDepends, dep, &result) || result < 0)) {
+ (!ftc.Compare(stampDepends, dep, &result) || result < 0)) {
// The stamp depends file is older than this dependency. The
// build system is really out of date.
std::cout << "CMake is re-running because " << stampName