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

Method FillPrefixesUserHints

Source/cmFindPackageCommand.cxx:2858–2871  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2856}
2857
2858void cmFindPackageCommand::FillPrefixesUserHints()
2859{
2860 cmSearchPath& paths = this->LabeledPaths[PathLabel::Hints];
2861
2862 for (std::string const& p : this->UserHintsArgs) {
2863 paths.AddUserPath(p);
2864 }
2865 if (this->DebugModeEnabled()) {
2866 std::string debugBuffer =
2867 "Paths specified by the find_package HINTS option.\n";
2868 collectPathsForDebug(debugBuffer, paths);
2869 this->DebugBuffer = cmStrCat(this->DebugBuffer, debugBuffer);
2870 }
2871}
2872
2873bool cmFindPackageCommand::SearchDirectory(std::string const& dir,
2874 PackageDescriptionType type)

Callers 1

ComputePrefixesMethod · 0.95

Calls 4

collectPathsForDebugFunction · 0.85
AddUserPathMethod · 0.80
DebugModeEnabledMethod · 0.80
cmStrCatFunction · 0.70

Tested by

no test coverage detected