| 76 | }; |
| 77 | |
| 78 | std::size_t collectPathsForDebug(std::string& buffer, |
| 79 | cmSearchPath const& searchPath, |
| 80 | std::size_t const startIndex = 0) |
| 81 | { |
| 82 | auto const& paths = searchPath.GetPaths(); |
| 83 | if (paths.empty()) { |
| 84 | buffer += " none\n"; |
| 85 | return 0; |
| 86 | } |
| 87 | for (auto i = startIndex; i < paths.size(); i++) { |
| 88 | buffer += cmStrCat(" ", paths[i].Path, '\n'); |
| 89 | } |
| 90 | return paths.size(); |
| 91 | } |
| 92 | |
| 93 | #if !(defined(_WIN32) && !defined(__CYGWIN__)) |
| 94 | class cmFindPackageCommandHoldFile |
no test coverage detected
searching dependent graphs…