mirror of
https://github.com/reactos/CMake.git
synced 2024-12-04 09:54:15 +00:00
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();
|
||||
}
|
||||
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user