Document and extend the CMAKE_SUPPRESS_REGENERATION variable

Fixes: https://gitlab.kitware.com/cmake/cmake/issues/16815
This commit is contained in:
Shane Parris
2018-02-23 08:56:22 -05:00
parent ebf0a08279
commit b6ef4bc329
9 changed files with 80 additions and 33 deletions

View File

@@ -217,7 +217,7 @@ bool cmGlobalVisualStudio8Generator::AddCheckTarget()
cmMakefile* mf = lg->GetMakefile();
// Skip the target if no regeneration is to be done.
if (mf->IsOn("CMAKE_SUPPRESS_REGENERATION")) {
if (this->GlobalSettingIsOn("CMAKE_SUPPRESS_REGENERATION")) {
return false;
}