Add const versions of some getters.
This commit is contained in:
parent
3db2973bd2
commit
4532d36cc9
|
@ -120,6 +120,7 @@ public:
|
|||
|
||||
///! Get the CMake instance
|
||||
cmake *GetCMakeInstance() { return this->CMakeInstance; };
|
||||
const cmake *GetCMakeInstance() const { return this->CMakeInstance; };
|
||||
|
||||
void SetConfiguredFilesPath(cmGlobalGenerator* gen);
|
||||
const std::vector<cmLocalGenerator *>& GetLocalGenerators() const {
|
||||
|
|
|
@ -83,6 +83,8 @@ public:
|
|||
///! Get the GlobalGenerator this is associated with
|
||||
cmGlobalGenerator *GetGlobalGenerator() {
|
||||
return this->GlobalGenerator; };
|
||||
const cmGlobalGenerator *GetGlobalGenerator() const {
|
||||
return this->GlobalGenerator; };
|
||||
|
||||
///! Set the Global Generator, done on creation by the GlobalGenerator
|
||||
void SetGlobalGenerator(cmGlobalGenerator *gg);
|
||||
|
|
Loading…
Reference in New Issue