summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-28 16:57:29 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-07-30 06:28:30 (GMT)
commitff1019bfac1380681989242fa904c2d9fe13fd38 (patch)
tree103e9fa62eb37f85c64a4f09eb8215f20283aa0f /Source/cmGlobalGenerator.cxx
parentaa2407d84d8bcd983b3df294032831bbd54cf25d (diff)
downloadCMake-ff1019bfac1380681989242fa904c2d9fe13fd38.zip
CMake-ff1019bfac1380681989242fa904c2d9fe13fd38.tar.gz
CMake-ff1019bfac1380681989242fa904c2d9fe13fd38.tar.bz2
cmGlobalGenerator: Move generation object creation to Compute().
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index dcbc558..b79576c 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -1228,13 +1228,13 @@ bool cmGlobalGenerator::Compute()
}
this->FinalizeTargetCompileInfo();
+ this->CreateGenerationObjects();
+
return true;
}
void cmGlobalGenerator::Generate()
{
- this->CreateGenerationObjects();
-
#ifdef CMAKE_BUILD_WITH_CMAKE
// Iterate through all targets and set up automoc for those which have
// the AUTOMOC, AUTOUIC or AUTORCC property set