cmGeneratorTarget: Port internal class to cmGeneratorTarget.
This commit is contained in:
parent
893ce307f9
commit
393654bf49
|
@ -1691,7 +1691,7 @@ public:
|
||||||
cmGeneratorTarget const* head):
|
cmGeneratorTarget const* head):
|
||||||
Config(config), Languages(languages), HeadTarget(head),
|
Config(config), Languages(languages), HeadTarget(head),
|
||||||
Makefile(target->Target->GetMakefile()), Target(target)
|
Makefile(target->Target->GetMakefile()), Target(target)
|
||||||
{ this->Visited.insert(target->Target); }
|
{ this->Visited.insert(target); }
|
||||||
|
|
||||||
void Visit(cmLinkItem const& item)
|
void Visit(cmLinkItem const& item)
|
||||||
{
|
{
|
||||||
|
@ -1732,7 +1732,7 @@ public:
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(!this->Visited.insert(item.Target->Target).second)
|
if(!this->Visited.insert(item.Target).second)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -1758,7 +1758,7 @@ private:
|
||||||
cmGeneratorTarget const* HeadTarget;
|
cmGeneratorTarget const* HeadTarget;
|
||||||
cmMakefile* Makefile;
|
cmMakefile* Makefile;
|
||||||
const cmGeneratorTarget* Target;
|
const cmGeneratorTarget* Target;
|
||||||
std::set<cmTarget const*> Visited;
|
std::set<cmGeneratorTarget const*> Visited;
|
||||||
};
|
};
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue