summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-10-12 22:18:25 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-10-15 09:14:21 (GMT)
commita0a720e6a70133e361762101ce69a0b3f1ab244d (patch)
tree1955ca0f1f308c9f34a02707348ece3d1a4388cb /Source/cmGeneratorTarget.h
parent637e3f3ee131cf30f7337db06314f4a1af22c245 (diff)
downloadCMake-a0a720e6a70133e361762101ce69a0b3f1ab244d.zip
CMake-a0a720e6a70133e361762101ce69a0b3f1ab244d.tar.gz
CMake-a0a720e6a70133e361762101ce69a0b3f1ab244d.tar.bz2
cm{,Generator}Target: Add global generator accessors
Provide 'static polymorphism' between the types in this aspect so that they can be used indiscriminately in a C++ template.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index 68ffd5c..bfbd790 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -32,6 +32,8 @@ public:
cmLocalGenerator* GetLocalGenerator() const;
+ cmGlobalGenerator* GetGlobalGenerator() const;
+
bool IsImported() const;
bool IsImportedGloballyVisible() const;
const char* GetLocation(const std::string& config) const;