Remove redundant calls to MakeStartDirectoriesCurrent.

The SetStart{,Output}Directory methods do what it does.
This commit is contained in:
Stephen Kelly 2015-04-12 18:54:42 +02:00
parent 3a68c323ba
commit f034bb2f54
3 changed files with 0 additions and 3 deletions

View File

@ -1103,7 +1103,6 @@ void cmGlobalGenerator::Configure()
(this->CMakeInstance->GetStartDirectory());
lg->GetMakefile()->SetStartOutputDirectory
(this->CMakeInstance->GetStartOutputDirectory());
lg->GetMakefile()->MakeStartDirectoriesCurrent();
this->BinaryDirectories.insert(mf->GetStartOutputDirectory());

View File

@ -587,7 +587,6 @@ void cmGlobalUnixMakefileGenerator3
(this->CMakeInstance->GetStartDirectory());
lg->GetMakefile()->SetStartOutputDirectory
(this->CMakeInstance->GetStartOutputDirectory());
lg->GetMakefile()->MakeStartDirectoriesCurrent();
}
std::string tname = targetName;

View File

@ -651,7 +651,6 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string>& args)
cmsys::auto_ptr<cmLocalGenerator> lgd(ggd->CreateLocalGenerator());
lgd->GetMakefile()->SetStartDirectory(startDir);
lgd->GetMakefile()->SetStartOutputDirectory(startOutDir);
lgd->GetMakefile()->MakeStartDirectoriesCurrent();
// Actually scan dependencies.
return lgd->UpdateDependencies(depInfo.c_str(),