| 280 | } |
| 281 | |
| 282 | static void processILibs(std::string const& config, |
| 283 | cmGeneratorTarget const* headTarget, |
| 284 | cmLinkItem const& item, cmGlobalGenerator* gg, |
| 285 | std::vector<cmGeneratorTarget const*>& tgts, |
| 286 | std::set<cmGeneratorTarget const*>& emitted, |
| 287 | UseTo usage) |
| 288 | { |
| 289 | if (item.Target && emitted.insert(item.Target).second) { |
| 290 | tgts.push_back(item.Target); |
| 291 | if (cmLinkInterfaceLibraries const* iface = |
| 292 | item.Target->GetLinkInterfaceLibraries(config, headTarget, usage)) { |
| 293 | for (cmLinkItem const& lib : iface->Libraries) { |
| 294 | processILibs(config, headTarget, lib, gg, tgts, emitted, usage); |
| 295 | } |
| 296 | } |
| 297 | } |
| 298 | } |
| 299 | |
| 300 | std::vector<cmGeneratorTarget const*> |
| 301 | cmGeneratorTarget::GetLinkInterfaceClosure(std::string const& config, |
no test coverage detected
searching dependent graphs…