diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-07-17 13:25:08 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-07-17 13:25:08 (GMT) |
commit | 95a8331edb4ba7b53abd796066165b29f70ff258 (patch) | |
tree | 05e7fdd622a040259c37877366c7c697538ccc2b /Source/cmGlobalGenerator.h | |
parent | 57f25c53e3bbbbda97a7e58fac27c1c56bc1f03a (diff) | |
download | CMake-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.h | 7 |
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; |