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

Method FillPrefixesUserGuess

Source/cmFindPackageCommand.cxx:2843–2856  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2841}
2842
2843void cmFindPackageCommand::FillPrefixesUserGuess()
2844{
2845 cmSearchPath& paths = this->LabeledPaths[PathLabel::Guess];
2846
2847 for (std::string const& p : this->UserGuessArgs) {
2848 paths.AddUserPath(p);
2849 }
2850 if (this->DebugModeEnabled()) {
2851 std::string debugBuffer =
2852 "Paths specified by the find_package PATHS option.\n";
2853 collectPathsForDebug(debugBuffer, paths);
2854 this->DebugBuffer = cmStrCat(this->DebugBuffer, debugBuffer);
2855 }
2856}
2857
2858void cmFindPackageCommand::FillPrefixesUserHints()
2859{

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