| 24 | cmSearchPath::~cmSearchPath() = default; |
| 25 | |
| 26 | void cmSearchPath::ExtractWithout(std::set<std::string> const& ignorePaths, |
| 27 | std::set<std::string> const& ignorePrefixes, |
| 28 | std::vector<std::string>& outPaths) const |
| 29 | { |
| 30 | for (auto const& path : this->Paths) { |
| 31 | if (ignorePaths.find(path.Path) == ignorePaths.end() && |
| 32 | ignorePrefixes.find(path.Prefix) == ignorePrefixes.end()) { |
| 33 | outPaths.push_back(path.Path); |
| 34 | } |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | void cmSearchPath::AddPath(std::string const& path) |
| 39 | { |
no test coverage detected