summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-17 13:25:08 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-17 13:25:08 (GMT)
commit95a8331edb4ba7b53abd796066165b29f70ff258 (patch)
tree05e7fdd622a040259c37877366c7c697538ccc2b /Source/cmGlobalGenerator.cxx
parent57f25c53e3bbbbda97a7e58fac27c1c56bc1f03a (diff)
downloadCMake-95a8331edb4ba7b53abd796066165b29f70ff258.zip
CMake-95a8331edb4ba7b53abd796066165b29f70ff258.tar.gz
CMake-95a8331edb4ba7b53abd796066165b29f70ff258.tar.bz2
ENH: produce a lot more output when running with --debug-output
-try to fix build error on HPUX Alex
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 31adcf1..9af5352 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -52,6 +52,7 @@ cmGlobalGenerator::cmGlobalGenerator()
this->TryCompileTimeout = 0;
this->ExtraGenerator = 0;
+ this->CurrentLocalGenerator = 0;
}
cmGlobalGenerator::~cmGlobalGenerator()
@@ -845,12 +846,14 @@ void cmGlobalGenerator::Generate()
// Generate project files
for (i = 0; i < this->LocalGenerators.size(); ++i)
{
+ this->SetCurrentLocalGenerator(this->LocalGenerators[i]);
this->LocalGenerators[i]->Generate();
this->LocalGenerators[i]->GenerateInstallRules();
this->LocalGenerators[i]->GenerateTestFiles();
this->CMakeInstance->UpdateProgress("Generating",
(i+1.0f)/this->LocalGenerators.size());
}
+ this->SetCurrentLocalGenerator(0);
if (this->ExtraGenerator != 0)
{