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());
|
(this->CMakeInstance->GetStartDirectory());
|
||||||
lg->GetMakefile()->SetStartOutputDirectory
|
lg->GetMakefile()->SetStartOutputDirectory
|
||||||
(this->CMakeInstance->GetStartOutputDirectory());
|
(this->CMakeInstance->GetStartOutputDirectory());
|
||||||
lg->GetMakefile()->MakeStartDirectoriesCurrent();
|
|
||||||
|
|
||||||
this->BinaryDirectories.insert(mf->GetStartOutputDirectory());
|
this->BinaryDirectories.insert(mf->GetStartOutputDirectory());
|
||||||
|
|
||||||
|
@ -587,7 +587,6 @@ void cmGlobalUnixMakefileGenerator3
|
|||||||
(this->CMakeInstance->GetStartDirectory());
|
(this->CMakeInstance->GetStartDirectory());
|
||||||
lg->GetMakefile()->SetStartOutputDirectory
|
lg->GetMakefile()->SetStartOutputDirectory
|
||||||
(this->CMakeInstance->GetStartOutputDirectory());
|
(this->CMakeInstance->GetStartOutputDirectory());
|
||||||
lg->GetMakefile()->MakeStartDirectoriesCurrent();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string tname = targetName;
|
std::string tname = targetName;
|
||||||
|
@ -651,7 +651,6 @@ int cmcmd::ExecuteCMakeCommand(std::vector<std::string>& args)
|
|||||||
cmsys::auto_ptr<cmLocalGenerator> lgd(ggd->CreateLocalGenerator());
|
cmsys::auto_ptr<cmLocalGenerator> lgd(ggd->CreateLocalGenerator());
|
||||||
lgd->GetMakefile()->SetStartDirectory(startDir);
|
lgd->GetMakefile()->SetStartDirectory(startDir);
|
||||||
lgd->GetMakefile()->SetStartOutputDirectory(startOutDir);
|
lgd->GetMakefile()->SetStartOutputDirectory(startOutDir);
|
||||||
lgd->GetMakefile()->MakeStartDirectoriesCurrent();
|
|
||||||
|
|
||||||
// Actually scan dependencies.
|
// Actually scan dependencies.
|
||||||
return lgd->UpdateDependencies(depInfo.c_str(),
|
return lgd->UpdateDependencies(depInfo.c_str(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user