| 1654 | } |
| 1655 | |
| 1656 | size_t cmComputeLinkDepends::ComputeComponentCount(NodeList const& nl) |
| 1657 | { |
| 1658 | size_t count = 2; |
| 1659 | for (size_t ni : nl) { |
| 1660 | if (cmGeneratorTarget const* target = this->EntryList[ni].Target) { |
| 1661 | if (cmLinkInterface const* iface = |
| 1662 | target->GetLinkInterface(this->Config, this->Target)) { |
| 1663 | if (iface->Multiplicity > count) { |
| 1664 | count = iface->Multiplicity; |
| 1665 | } |
| 1666 | } |
| 1667 | } |
| 1668 | } |
| 1669 | return count; |
| 1670 | } |
| 1671 | |
| 1672 | namespace { |
| 1673 | void DisplayLinkEntry(int& count, cmComputeLinkDepends::LinkEntry const& entry) |
no test coverage detected