MCPcopy Create free account
hub / github.com/Kitware/CMake / FillPackageRootPath

Method FillPackageRootPath

Source/cmFindBase.cxx:323–334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321}
322
323void cmFindBase::FillPackageRootPath()
324{
325 cmSearchPath& paths = this->LabeledPaths[PathLabel::PackageRoot];
326
327 // Add the PACKAGE_ROOT_PATH from each enclosing find_package call.
328 for (std::vector<std::string> const& pkgPaths :
329 cmReverseRange(this->Makefile->FindPackageRootPathStack)) {
330 paths.AddPrefixPaths(pkgPaths);
331 }
332
333 paths.AddSuffixes(this->SearchPathSuffixes);
334}
335
336void cmFindBase::FillCMakeVariablePath()
337{

Callers 1

ExpandPathsMethod · 0.95

Calls 3

cmReverseRangeFunction · 0.85
AddPrefixPathsMethod · 0.80
AddSuffixesMethod · 0.80

Tested by

no test coverage detected