| 81 | } |
| 82 | |
| 83 | bool cmLinkItemGraphVisitor::LinkVisited(cmLinkItem const& depender, |
| 84 | cmLinkItem const& dependee) |
| 85 | { |
| 86 | auto const link = std::make_pair(depender.AsStr(), dependee.AsStr()); |
| 87 | |
| 88 | bool const linkVisited = |
| 89 | this->VisitedLinks.find(link) != this->VisitedLinks.cend(); |
| 90 | |
| 91 | if (!linkVisited) { |
| 92 | this->VisitedLinks.insert(link); |
| 93 | } |
| 94 | |
| 95 | return linkVisited; |
| 96 | } |
| 97 | |
| 98 | void cmLinkItemGraphVisitor::GetDependencies(cmGeneratorTarget const& target, |
| 99 | std::string const& config, |
no test coverage detected