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/cmake.cxx | |
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/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 29271b8..ebc38d8 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -430,7 +430,7 @@ void cmake::ReadListFile(const std::vector<std::string>& args, this->SetHomeDirectory(cmSystemTools::GetCurrentWorkingDirectory()); this->SetHomeOutputDirectory(cmSystemTools::GetCurrentWorkingDirectory()); cmState::Snapshot snapshot = this->GetCurrentSnapshot(); - cmsys::auto_ptr<cmLocalGenerator> lg(gg->MakeLocalGenerator(snapshot)); + cmsys::auto_ptr<cmLocalGenerator> lg(gg->CreateLocalGenerator(snapshot)); lg->GetMakefile()->SetCurrentBinaryDirectory (cmSystemTools::GetCurrentWorkingDirectory()); lg->GetMakefile()->SetCurrentSourceDirectory @@ -472,7 +472,7 @@ bool cmake::FindPackage(const std::vector<std::string>& args) cmState::Snapshot snapshot = this->GetCurrentSnapshot(); // read in the list file to fill the cache - cmsys::auto_ptr<cmLocalGenerator> lg(gg->MakeLocalGenerator(snapshot)); + cmsys::auto_ptr<cmLocalGenerator> lg(gg->CreateLocalGenerator(snapshot)); cmMakefile* mf = lg->GetMakefile(); mf->SetCurrentBinaryDirectory (cmSystemTools::GetCurrentWorkingDirectory()); @@ -2062,7 +2062,7 @@ int cmake::CheckBuildSystem() cm.SetHomeOutputDirectory(""); cmGlobalGenerator gg(&cm); cmsys::auto_ptr<cmLocalGenerator> lg( - gg.MakeLocalGenerator(cm.GetCurrentSnapshot())); + gg.CreateLocalGenerator(cm.GetCurrentSnapshot())); cmMakefile* mf = lg->GetMakefile(); if(!mf->ReadListFile(this->CheckBuildSystemArgument.c_str()) || cmSystemTools::GetErrorOccuredFlag()) @@ -2093,7 +2093,7 @@ int cmake::CheckBuildSystem() if(ggd.get()) { cmsys::auto_ptr<cmLocalGenerator> lgd( - ggd->MakeLocalGenerator(cm.GetCurrentSnapshot())); + ggd->CreateLocalGenerator(cm.GetCurrentSnapshot())); lgd->ClearDependencies(mf, verbose); } } |