cmGeneratorTarget: Port processILibs away from cmTarget.
This commit is contained in:
parent
064c248811
commit
1c5d70f9c2
|
@ -2047,7 +2047,7 @@ void cmGeneratorTarget::GetAutoUicOptions(std::vector<std::string> &result,
|
||||||
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
void processILibs(const std::string& config,
|
void processILibs(const std::string& config,
|
||||||
cmTarget const* headTarget,
|
cmGeneratorTarget const* headTarget,
|
||||||
cmLinkItem const& item,
|
cmLinkItem const& item,
|
||||||
cmGlobalGenerator* gg,
|
cmGlobalGenerator* gg,
|
||||||
std::vector<cmTarget const*>& tgts,
|
std::vector<cmTarget const*>& tgts,
|
||||||
|
@ -2058,7 +2058,7 @@ void processILibs(const std::string& config,
|
||||||
tgts.push_back(item.Target);
|
tgts.push_back(item.Target);
|
||||||
cmGeneratorTarget* gt = gg->GetGeneratorTarget(item.Target);
|
cmGeneratorTarget* gt = gg->GetGeneratorTarget(item.Target);
|
||||||
if(cmLinkInterfaceLibraries const* iface =
|
if(cmLinkInterfaceLibraries const* iface =
|
||||||
gt->GetLinkInterfaceLibraries(config, headTarget, true))
|
gt->GetLinkInterfaceLibraries(config, headTarget->Target, true))
|
||||||
{
|
{
|
||||||
for(std::vector<cmLinkItem>::const_iterator
|
for(std::vector<cmLinkItem>::const_iterator
|
||||||
it = iface->Libraries.begin();
|
it = iface->Libraries.begin();
|
||||||
|
@ -2089,7 +2089,7 @@ cmGeneratorTarget::GetLinkImplementationClosure(
|
||||||
it = impl->Libraries.begin();
|
it = impl->Libraries.begin();
|
||||||
it != impl->Libraries.end(); ++it)
|
it != impl->Libraries.end(); ++it)
|
||||||
{
|
{
|
||||||
processILibs(config, this->Target, *it,
|
processILibs(config, this, *it,
|
||||||
this->LocalGenerator->GetGlobalGenerator(),
|
this->LocalGenerator->GetGlobalGenerator(),
|
||||||
tgts , emitted);
|
tgts , emitted);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue