cmGeneratorTarget: Add accessor for cmLocalGenerator.
This commit is contained in:
parent
2e9333a1d0
commit
b2b41b83ff
@ -228,6 +228,11 @@ cmGeneratorTarget::cmGeneratorTarget(cmTarget* t): Target(t),
|
|||||||
this->GlobalGenerator = this->Makefile->GetGlobalGenerator();
|
this->GlobalGenerator = this->Makefile->GetGlobalGenerator();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cmLocalGenerator* cmGeneratorTarget::GetLocalGenerator() const
|
||||||
|
{
|
||||||
|
return this->LocalGenerator;
|
||||||
|
}
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
int cmGeneratorTarget::GetType() const
|
int cmGeneratorTarget::GetType() const
|
||||||
{
|
{
|
||||||
|
@ -26,6 +26,8 @@ class cmGeneratorTarget
|
|||||||
public:
|
public:
|
||||||
cmGeneratorTarget(cmTarget*);
|
cmGeneratorTarget(cmTarget*);
|
||||||
|
|
||||||
|
cmLocalGenerator* GetLocalGenerator() const;
|
||||||
|
|
||||||
int GetType() const;
|
int GetType() const;
|
||||||
std::string GetName() const;
|
std::string GetName() const;
|
||||||
const char *GetProperty(const std::string& prop) const;
|
const char *GetProperty(const std::string& prop) const;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user