diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-06 22:37:31 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-08 21:25:11 (GMT) |
commit | 27916f2cd10904deda1a44bf221fbdef7ba1af66 (patch) | |
tree | a1ecee0b5e9e5a0eb58b3b91fa9f85292385d860 | |
parent | 29a2d9fe69a8561ff72f800b5f96bc896cd9d449 (diff) | |
download | CMake-27916f2cd10904deda1a44bf221fbdef7ba1af66.zip CMake-27916f2cd10904deda1a44bf221fbdef7ba1af66.tar.gz CMake-27916f2cd10904deda1a44bf221fbdef7ba1af66.tar.bz2 |
cmLocalGenerator: Add cmake instance accessor.
-rw-r--r-- | Source/cmLocalGenerator.cxx | 5 | ||||
-rw-r--r-- | Source/cmLocalGenerator.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index b26151c..6647894 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -2858,6 +2858,11 @@ cmLocalGenerator return source.GetLanguage(); } +cmake* cmLocalGenerator::GetCMakeInstance() const +{ + return this->GlobalGenerator->GetCMakeInstance(); +} + //---------------------------------------------------------------------------- std::string cmLocalGenerator::GetTargetDirectory(cmTarget const&) const diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 33fede1..d9623cb 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -251,6 +251,8 @@ public: */ bool NeedBackwardsCompatibility_2_4(); + cmake* GetCMakeInstance() const; + /** * Generate a Mac OS X application bundle Info.plist file. */ |