summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-06 22:37:31 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-08 21:25:11 (GMT)
commit27916f2cd10904deda1a44bf221fbdef7ba1af66 (patch)
treea1ecee0b5e9e5a0eb58b3b91fa9f85292385d860 /Source/cmLocalGenerator.cxx
parent29a2d9fe69a8561ff72f800b5f96bc896cd9d449 (diff)
downloadCMake-27916f2cd10904deda1a44bf221fbdef7ba1af66.zip
CMake-27916f2cd10904deda1a44bf221fbdef7ba1af66.tar.gz
CMake-27916f2cd10904deda1a44bf221fbdef7ba1af66.tar.bz2
cmLocalGenerator: Add cmake instance accessor.
Diffstat (limited to 'Source/cmLocalGenerator.cxx')
-rw-r--r--Source/cmLocalGenerator.cxx5
1 files changed, 5 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