cmGlobalGenerator: Avoid cmLocalGenerator until after Configure.
This commit is contained in:
parent
ff8ac8ee6a
commit
bd096d30e0
|
@ -1134,17 +1134,17 @@ void cmGlobalGenerator::Configure()
|
||||||
this->LocalGenerators.push_back(lg);
|
this->LocalGenerators.push_back(lg);
|
||||||
|
|
||||||
// set the Start directories
|
// set the Start directories
|
||||||
lg->GetMakefile()->SetCurrentSourceDirectory
|
dirMf->SetCurrentSourceDirectory
|
||||||
(this->CMakeInstance->GetHomeDirectory());
|
(this->CMakeInstance->GetHomeDirectory());
|
||||||
lg->GetMakefile()->SetCurrentBinaryDirectory
|
dirMf->SetCurrentBinaryDirectory
|
||||||
(this->CMakeInstance->GetHomeOutputDirectory());
|
(this->CMakeInstance->GetHomeOutputDirectory());
|
||||||
|
|
||||||
this->BinaryDirectories.insert(
|
this->BinaryDirectories.insert(
|
||||||
this->CMakeInstance->GetHomeOutputDirectory());
|
this->CMakeInstance->GetHomeOutputDirectory());
|
||||||
|
|
||||||
// now do it
|
// now do it
|
||||||
lg->GetMakefile()->Configure();
|
dirMf->Configure();
|
||||||
lg->GetMakefile()->EnforceDirectoryLevelRules();
|
dirMf->EnforceDirectoryLevelRules();
|
||||||
|
|
||||||
// update the cache entry for the number of local generators, this is used
|
// update the cache entry for the number of local generators, this is used
|
||||||
// for progress
|
// for progress
|
||||||
|
|
Loading…
Reference in New Issue