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

Method AddArchitecturePaths

Source/cmFindLibraryCommand.cxx:87–101  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void cmFindLibraryCommand::AddArchitecturePaths(char const* suffix)
88{
89 std::vector<std::string> original;
90 original.swap(this->SearchPaths);
91 for (std::string const& o : original) {
92 this->AddArchitecturePath(o, 0, suffix);
93 if (this->DebugModeEnabled()) {
94 std::string msg = cmStrCat(
95 "find_library(", this->VariableName, ") removed original suffix ", o,
96 " from PATH_SUFFIXES while adding architecture paths for suffix '",
97 suffix, '\'');
98 this->DebugMessage(msg);
99 }
100 }
101}
102
103static bool cmLibDirsLinked(std::string const& l, std::string const& r)
104{

Callers 1

InitialPassMethod · 0.95

Calls 5

AddArchitecturePathMethod · 0.95
DebugModeEnabledMethod · 0.80
DebugMessageMethod · 0.80
cmStrCatFunction · 0.70
swapMethod · 0.45

Tested by

no test coverage detected