diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-02 09:30:12 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-28 16:44:38 (GMT) |
commit | 92041eec49ab4968b2d4f09e3bd71a3720d86036 (patch) | |
tree | 3ac1b51fcad7d7b18d090a72ca1cee4ff1f2fe7f /Source/CPack | |
parent | acb006229dbc531303538f4de1dc4d16d27369a5 (diff) | |
download | CMake-92041eec49ab4968b2d4f09e3bd71a3720d86036.zip CMake-92041eec49ab4968b2d4f09e3bd71a3720d86036.tar.gz CMake-92041eec49ab4968b2d4f09e3bd71a3720d86036.tar.bz2 |
cmGlobalGenerator: Remove MakeLocalGenerator method.
Inline implementation to callers.
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cmCPackGenerator.cxx | 2 | ||||
-rw-r--r-- | Source/CPack/cpack.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx index 68509a5..8cbcd4e 100644 --- a/Source/CPack/cmCPackGenerator.cxx +++ b/Source/CPack/cmCPackGenerator.cxx @@ -717,7 +717,7 @@ int cmCPackGenerator::InstallProjectViaInstallCMakeProjects( cm.SetProgressCallback(cmCPackGeneratorProgress, this); cmGlobalGenerator gg(&cm); cmsys::auto_ptr<cmLocalGenerator> lg( - gg.MakeLocalGenerator(cm.GetCurrentSnapshot())); + gg.CreateLocalGenerator(cm.GetCurrentSnapshot())); cmMakefile *mf = lg->GetMakefile(); std::string realInstallDirectory = tempInstallDirectory; if ( !installSubDirectory.empty() && installSubDirectory != "/" ) diff --git a/Source/CPack/cpack.cxx b/Source/CPack/cpack.cxx index 0c53d1b..96351f7 100644 --- a/Source/CPack/cpack.cxx +++ b/Source/CPack/cpack.cxx @@ -203,7 +203,7 @@ int main (int argc, char const* const* argv) cminst.GetState()->RemoveUnscriptableCommands(); cmGlobalGenerator cmgg(&cminst); cmsys::auto_ptr<cmLocalGenerator> cmlg( - cmgg.MakeLocalGenerator(cminst.GetCurrentSnapshot())); + cmgg.CreateLocalGenerator(cminst.GetCurrentSnapshot())); cmMakefile* globalMF = cmlg->GetMakefile(); #if defined(__CYGWIN__) globalMF->AddDefinition("CMAKE_LEGACY_CYGWIN_WIN32", "0"); |