| 298 | } |
| 299 | |
| 300 | std::vector<cmGeneratorTarget const*> |
| 301 | cmGeneratorTarget::GetLinkInterfaceClosure(std::string const& config, |
| 302 | cmGeneratorTarget const* headTarget, |
| 303 | UseTo usage) const |
| 304 | { |
| 305 | cmGlobalGenerator* gg = this->GetLocalGenerator()->GetGlobalGenerator(); |
| 306 | std::vector<cmGeneratorTarget const*> tgts; |
| 307 | std::set<cmGeneratorTarget const*> emitted; |
| 308 | if (cmLinkInterfaceLibraries const* iface = |
| 309 | this->GetLinkInterfaceLibraries(config, headTarget, usage)) { |
| 310 | for (cmLinkItem const& lib : iface->Libraries) { |
| 311 | processILibs(config, headTarget, lib, gg, tgts, emitted, usage); |
| 312 | } |
| 313 | } |
| 314 | return tgts; |
| 315 | } |
| 316 | |
| 317 | std::vector<cmGeneratorTarget const*> const& |
| 318 | cmGeneratorTarget::GetLinkImplementationClosure(std::string const& config, |
no test coverage detected