summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
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.h
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.h')
-rw-r--r--Source/cmGlobalGenerator.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index ccf00d7..540691f 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -122,6 +122,12 @@ public:
const std::vector<cmLocalGenerator *>& GetLocalGenerators() const {
return this->LocalGenerators;}
+ cmLocalGenerator* GetCurrentLocalGenerator()
+ {return this->CurrentLocalGenerator;}
+
+ void SetCurrentLocalGenerator(cmLocalGenerator* lg)
+ {this->CurrentLocalGenerator = lg;}
+
void AddLocalGenerator(cmLocalGenerator *lg);
///! Set an generator for an "external makefile based project"
@@ -235,6 +241,7 @@ protected:
cmStdString ConfiguredFilesPath;
cmake *CMakeInstance;
std::vector<cmLocalGenerator *> LocalGenerators;
+ cmLocalGenerator* CurrentLocalGenerator;
// map from project name to vector of local generators in that project
std::map<cmStdString, std::vector<cmLocalGenerator*> > ProjectMap;
std::map<cmStdString, std::set<cmTarget*> > ProjectToTargetMap;