Commit b2b41b83 authored by Stephen Kelly's avatar Stephen Kelly Committed by Brad King

cmGeneratorTarget: Add accessor for cmLocalGenerator.

parent 2e9333a1
......@@ -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
{
......
......@@ -26,6 +26,8 @@ class cmGeneratorTarget
public:
cmGeneratorTarget(cmTarget*);
cmLocalGenerator* GetLocalGenerator() const;
int GetType() const;
std::string GetName() const;
const char *GetProperty(const std::string& prop) const;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment