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

Method AddEnvPrefixPath

Source/cmSearchPath.cxx:117–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117void cmSearchPath::AddEnvPrefixPath(std::string const& variable, bool stripBin)
118{
119 std::vector<std::string> expanded =
120 cmSystemTools::GetEnvPathNormalized(variable);
121 if (stripBin) {
122 std::transform(expanded.begin(), expanded.end(), expanded.begin(),
123 cmSearchPathStripBin);
124 }
125 this->AddPrefixPaths(expanded);
126}
127
128void cmSearchPath::AddSuffixes(std::vector<std::string> const& suffixes)
129{

Callers 1

Calls 4

AddPrefixPathsMethod · 0.95
transformFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected