cmGlobalGenerator: Fill the project map at compute time.
This commit is contained in:
parent
ebf8d0a99a
commit
357bf469c7
@ -1158,10 +1158,6 @@ void cmGlobalGenerator::Configure()
|
|||||||
// and for infinite loops
|
// and for infinite loops
|
||||||
this->CheckTargetProperties();
|
this->CheckTargetProperties();
|
||||||
|
|
||||||
// at this point this->LocalGenerators has been filled,
|
|
||||||
// so create the map from project name to vector of local generators
|
|
||||||
this->FillProjectMap();
|
|
||||||
|
|
||||||
if ( this->CMakeInstance->GetWorkingMode() == cmake::NORMAL_MODE)
|
if ( this->CMakeInstance->GetWorkingMode() == cmake::NORMAL_MODE)
|
||||||
{
|
{
|
||||||
std::ostringstream msg;
|
std::ostringstream msg;
|
||||||
@ -1268,6 +1264,10 @@ bool cmGlobalGenerator::Compute()
|
|||||||
|
|
||||||
this->CreateGenerationObjects();
|
this->CreateGenerationObjects();
|
||||||
|
|
||||||
|
// at this point this->LocalGenerators has been filled,
|
||||||
|
// so create the map from project name to vector of local generators
|
||||||
|
this->FillProjectMap();
|
||||||
|
|
||||||
#ifdef CMAKE_BUILD_WITH_CMAKE
|
#ifdef CMAKE_BUILD_WITH_CMAKE
|
||||||
// Iterate through all targets and set up automoc for those which have
|
// Iterate through all targets and set up automoc for those which have
|
||||||
// the AUTOMOC, AUTOUIC or AUTORCC property set
|
// the AUTOMOC, AUTOUIC or AUTORCC property set
|
||||||
|
Loading…
x
Reference in New Issue
Block a user