summaryrefslogtreecommitdiff
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 12:59:25 +0200
committerBrad King <brad.king@kitware.com>2015-06-22 13:23:45 -0400
commitb2b41b83ff594555f3b80c6c2fd12e10e1e97458 (patch)
treedec6d52c12a077b23e864b6940bc498943467d23 /Source/cmGeneratorTarget.cxx
parent2e9333a1d0979c4d6ecfe8fd16382ea6526dec9c (diff)
downloadcmake-b2b41b83ff594555f3b80c6c2fd12e10e1e97458.tar.gz
cmGeneratorTarget: Add accessor for cmLocalGenerator.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index 2f68ab0319..482eefddc4 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -228,6 +228,11 @@ cmGeneratorTarget::cmGeneratorTarget(cmTarget* t): Target(t),
this->GlobalGenerator = this->Makefile->GetGlobalGenerator();
}
+cmLocalGenerator* cmGeneratorTarget::GetLocalGenerator() const
+{
+ return this->LocalGenerator;
+}
+
//----------------------------------------------------------------------------
int cmGeneratorTarget::GetType() const
{