summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.h
diff options
context:
space:
mode:
authorNicolas Despres <nicolas.despres@gmail.com>2011-03-26 13:31:59 (GMT)
committerPeter Collingbourne <peter@pcc.me.uk>2011-10-02 17:30:42 (GMT)
commit4532d36cc948228ca5e1ed072b7907a84a78c0e7 (patch)
tree44b861e14fe6b100809cf1a5495c9b08c07bf4c9 /Source/cmGlobalGenerator.h
parent3db2973bd2ceb65a0d88ed6a3428e17cc9f0e182 (diff)
downloadCMake-4532d36cc948228ca5e1ed072b7907a84a78c0e7.zip
CMake-4532d36cc948228ca5e1ed072b7907a84a78c0e7.tar.gz
CMake-4532d36cc948228ca5e1ed072b7907a84a78c0e7.tar.bz2
Add const versions of some getters.
Diffstat (limited to 'Source/cmGlobalGenerator.h')
-rw-r--r--Source/cmGlobalGenerator.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.h b/Source/cmGlobalGenerator.h
index 88eb8b6..97cacc5 100644
--- a/Source/cmGlobalGenerator.h
+++ b/Source/cmGlobalGenerator.h
@@ -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 {