BUG: Fix messages for time stamp file recreation.
This commit is contained in:
parent
ea2b389a17
commit
a546ba7ed4
@ -3468,14 +3468,14 @@ static bool cmakeCheckStampFile(const char* stampName)
|
|||||||
// The build system is up to date. The stamp file has been removed
|
// The build system is up to date. The stamp file has been removed
|
||||||
// by the VS IDE due to a "rebuild" request. Just restore it.
|
// by the VS IDE due to a "rebuild" request. Just restore it.
|
||||||
std::ofstream stamp(stampName);
|
std::ofstream stamp(stampName);
|
||||||
stamp << "# CMake timestamp file for corresponding VS project.\n";
|
stamp << "# CMake generation timestamp file this directory.\n";
|
||||||
if(stamp)
|
if(stamp)
|
||||||
{
|
{
|
||||||
// Notify the user why CMake is not re-running. It is safe to
|
// Notify the user why CMake is not re-running. It is safe to
|
||||||
// just print to stdout here because this code is only reachable
|
// just print to stdout here because this code is only reachable
|
||||||
// through an undocumented flag used by the VS generator.
|
// through an undocumented flag used by the VS generator.
|
||||||
std::cout << "CMake does not need to re-run because the "
|
std::cout << "CMake does not need to re-run because the "
|
||||||
<< "project timestamp is up-to-date.\n";
|
<< "generation timestamp is up-to-date.\n";
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user