diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-05-30 21:50:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-06-04 13:06:41 (GMT) |
commit | a653611db0d6e23456c5ef90f95e19ea5d70a428 (patch) | |
tree | e8cea00b2f10069f82690df61616bcd6b2d54d08 /Source/cmGlobalGenerator.h | |
parent | 69a038a9e90a8839b69f4cb8826688be611e8b0d (diff) | |
download | CMake-a653611db0d6e23456c5ef90f95e19ea5d70a428.zip CMake-a653611db0d6e23456c5ef90f95e19ea5d70a428.tar.gz CMake-a653611db0d6e23456c5ef90f95e19ea5d70a428.tar.bz2 |
cmake: Replace CurrentLocalGenerator concept with CurrentMakefile.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index 979e971..d2b8504 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -168,11 +168,13 @@ public: const std::vector<cmLocalGenerator *>& GetLocalGenerators() const { return this->LocalGenerators;} - cmLocalGenerator* GetCurrentLocalGenerator() - {return this->CurrentLocalGenerator;} + cmMakefile* GetCurrentMakefile() const + { + return this->CurrentMakefile; + } - void SetCurrentLocalGenerator(cmLocalGenerator* lg) - {this->CurrentLocalGenerator = lg;} + void SetCurrentMakefile(cmMakefile* mf) + {this->CurrentMakefile = mf;} void AddLocalGenerator(cmLocalGenerator *lg); @@ -406,7 +408,7 @@ protected: std::string ConfiguredFilesPath; cmake *CMakeInstance; std::vector<cmLocalGenerator *> LocalGenerators; - cmLocalGenerator* CurrentLocalGenerator; + cmMakefile* CurrentMakefile; // map from project name to vector of local generators in that project std::map<std::string, std::vector<cmLocalGenerator*> > ProjectMap; std::map<cmLocalGenerator*, std::set<cmTarget const*> > |