diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-08-02 18:21:22 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-08-07 02:10:28 (GMT) |
commit | 73e4df99cb4d63f5ea8babb40656a74305d77e12 (patch) | |
tree | b7376eb88a3e222549f6cda83cd78aeea7689944 /Source/cmGlobalGenerator.h | |
parent | 193699376af09bd77875d4ddfd10c3feb13ecdd2 (diff) | |
download | CMake-73e4df99cb4d63f5ea8babb40656a74305d77e12.zip CMake-73e4df99cb4d63f5ea8babb40656a74305d77e12.tar.gz CMake-73e4df99cb4d63f5ea8babb40656a74305d77e12.tar.bz2 |
cmGlobalGenerator: Store a container of cmMakefiles.
For use at configure-time.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r-- | Source/cmGlobalGenerator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h index 3402fbc..616011f 100644 --- a/Source/cmGlobalGenerator.h +++ b/Source/cmGlobalGenerator.h @@ -173,6 +173,8 @@ public: cmake *GetCMakeInstance() const { return this->CMakeInstance; } void SetConfiguredFilesPath(cmGlobalGenerator* gen); + const std::vector<cmMakefile*>& GetMakefiles() const { + return this->Makefiles;} const std::vector<cmLocalGenerator *>& GetLocalGenerators() const { return this->LocalGenerators;} @@ -184,6 +186,7 @@ public: void SetCurrentMakefile(cmMakefile* mf) {this->CurrentMakefile = mf;} + void AddMakefile(cmMakefile *mf); void AddLocalGenerator(cmLocalGenerator *lg); ///! Set an generator for an "external makefile based project" @@ -402,6 +405,7 @@ protected: std::string FindMakeProgramFile; std::string ConfiguredFilesPath; cmake *CMakeInstance; + std::vector<cmMakefile*> Makefiles; std::vector<cmLocalGenerator *> LocalGenerators; cmMakefile* CurrentMakefile; // map from project name to vector of local generators in that project |