Add more forwarding API to cmGeneratorTarget.

This API is the most commonly required in the following patches.
This commit is contained in:
Stephen Kelly
2012-09-17 12:02:24 +02:00
parent d407dcdbc8
commit f428ca25f5
2 changed files with 36 additions and 0 deletions

View File

@@ -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;