summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-16 03:18:25 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-16 03:18:25 (GMT)
commitb659d161da3c488890e32fbb1acf1295186d3c4f (patch)
tree8040267cd45e39fcc0f70480eac8f5328c0e2c8d /Source/cmGlobalGenerator.cxx
parent2e4ea0c055e01e10c8f459398f943b1b62c5c7bb (diff)
downloadCMake-b659d161da3c488890e32fbb1acf1295186d3c4f.zip
CMake-b659d161da3c488890e32fbb1acf1295186d3c4f.tar.gz
CMake-b659d161da3c488890e32fbb1acf1295186d3c4f.tar.bz2
cmGlobalGenerator: Add NVI wrapper to create local generator.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx8
1 files changed, 7 insertions, 1 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 1c9c475..cf9e6e6 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -1099,7 +1099,7 @@ void cmGlobalGenerator::Configure()
this->ClearGeneratorMembers();
// start with this directory
- cmLocalGenerator *lg = this->CreateLocalGenerator();
+ cmLocalGenerator *lg = this->MakeLocalGenerator();
this->LocalGenerators.push_back(lg);
// set the Start directories
@@ -1882,6 +1882,12 @@ void cmGlobalGenerator::EnableInstallTarget()
}
cmLocalGenerator *
+cmGlobalGenerator::MakeLocalGenerator(cmLocalGenerator *parent)
+{
+ return this->CreateLocalGenerator(parent);
+}
+
+cmLocalGenerator *
cmGlobalGenerator::CreateLocalGenerator(cmLocalGenerator *parent)
{
return new cmLocalGenerator(this, parent);