summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-09-17 10:02:24 (GMT)
committerStephen Kelly <steveire@gmail.com>2012-09-19 13:28:03 (GMT)
commitf428ca25f5f983cb57eb009a330c09506ee81587 (patch)
treee2a1058645c5bccc430094e0e797d444528a964f /Source/cmGeneratorTarget.h
parentd407dcdbc824688510837ec85bb2e3c85cf096bd (diff)
downloadCMake-f428ca25f5f983cb57eb009a330c09506ee81587.zip
CMake-f428ca25f5f983cb57eb009a330c09506ee81587.tar.gz
CMake-f428ca25f5f983cb57eb009a330c09506ee81587.tar.bz2
Add more forwarding API to cmGeneratorTarget.
This API is the most commonly required in the following patches.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index 5c7578d..bf0ab84 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -26,6 +26,12 @@ class cmGeneratorTarget
public:
cmGeneratorTarget(cmTarget*);
+ int GetType() const;
+ const char *GetName() const;
+ const char *GetProperty(const char *prop);
+ bool GetPropertyAsBool(const char *prop);
+ std::vector<cmSourceFile*> const& GetSourceFiles();
+
cmTarget* Target;
cmMakefile* Makefile;
cmLocalGenerator* LocalGenerator;