summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-05-14 18:59:31 (GMT)
committerBrad King <brad.king@kitware.com>2020-05-18 16:56:55 (GMT)
commitd6a88d21589f5b614baea16b25261b416651533c (patch)
treebafde7edfb69cff55fc77e7cb43e31b546f2eab3 /Source/cmGlobalGenerator.cxx
parentd7e82a11d513c7f267cd2141bf1638ce7305a9a1 (diff)
downloadCMake-d6a88d21589f5b614baea16b25261b416651533c.zip
CMake-d6a88d21589f5b614baea16b25261b416651533c.tar.gz
CMake-d6a88d21589f5b614baea16b25261b416651533c.tar.bz2
cmTarget: Replace "perConfig" constructor boolean with enum
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index cfad4c2..0b7ba04 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -2535,7 +2535,7 @@ void cmGlobalGenerator::AddGlobalTarget_EditCache(
}
GlobalTargetInfo gti;
gti.Name = editCacheTargetName;
- gti.PerConfig = false;
+ gti.PerConfig = cmTarget::PerConfig::No;
cmCustomCommandLine singleLine;
// Use generator preference for the edit_cache rule if it is defined.
@@ -2571,7 +2571,7 @@ void cmGlobalGenerator::AddGlobalTarget_RebuildCache(
gti.Name = rebuildCacheTargetName;
gti.Message = "Running CMake to regenerate build system...";
gti.UsesTerminal = true;
- gti.PerConfig = false;
+ gti.PerConfig = cmTarget::PerConfig::No;
cmCustomCommandLine singleLine;
singleLine.push_back(cmSystemTools::GetCMakeCommand());
singleLine.push_back("--regenerate-during-build");