Remove redundant calls to MakeStartDirectoriesCurrent.
The SetStart{,Output}Directory methods do what it does.
This commit is contained in:
parent
3a68c323ba
commit
f034bb2f54
|
@ -1103,7 +1103,6 @@ void cmGlobalGenerator::Configure()
|
|||
(this->CMakeInstance->GetStartDirectory());
|
||||
lg->GetMakefile()->SetStartOutputDirectory
|
||||
(this->CMakeInstance->GetStartOutputDirectory());
|
||||
lg->GetMakefile()->MakeStartDirectoriesCurrent();
|
||||
|
||||
this->BinaryDirectories.insert(mf->GetStartOutputDirectory());
|
||||
|
||||
|
|
|
@ -587,7 +587,6 @@ void cmGlobalUnixMakefileGenerator3
|
|||
(this->CMakeInstance->GetStartDirectory());
|
||||
lg->GetMakefile()->SetStartOutputDirectory
|
||||
(this->CMakeInstance->GetStartOutputDirectory());
|
||||
lg->GetMakefile()->MakeStartDirectoriesCurrent();
|
||||
}
|
||||
|
||||
std::string tname = targetName;
|
||||
|
|
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue