From e77f5cfaed898d1cf3ac52754ddf19b5e9a5ea99 Mon Sep 17 00:00:00 2001 From: Brad King Date: Sun, 8 Jun 2008 11:41:24 -0400 Subject: ENH: Whenever CMake re-runs from inside the VS IDE inform the user why. --- Source/cmake.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 6971204..4dffe0c 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -3740,7 +3740,7 @@ static bool cmakeCheckStampFile(const char* stampName) // Notify the user why CMake is re-running. It is safe to // just print to stdout here because this code is only reachable // through an undocumented flag used by the VS generator. - std::cout << "CMake is re-running due to explicit user request.\n"; + std::cout << "CMake is re-running because build system is out-of-date.\n"; return false; } @@ -3760,6 +3760,8 @@ static bool cmakeCheckStampFile(const char* stampName) { // The stamp dependencies file cannot be read. Just assume the // build system is really out of date. + std::cout << "CMake is re-running because " << stampName + << " dependency file is missing.\n"; return false; } @@ -3775,6 +3777,8 @@ static bool cmakeCheckStampFile(const char* stampName) { // 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 + << " is out-of-date.\n"; return false; } } -- cgit v0.12