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

Method FillSystemEnvironmentPath

Source/cmFindBase.cxx:355–366  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355void cmFindBase::FillSystemEnvironmentPath()
356{
357 cmSearchPath& paths = this->LabeledPaths[PathLabel::SystemEnvironment];
358
359 // Add LIB or INCLUDE
360 if (!this->EnvironmentPath.empty()) {
361 paths.AddEnvPath(this->EnvironmentPath);
362 }
363 // Add PATH
364 paths.AddEnvPath("PATH");
365 paths.AddSuffixes(this->SearchPathSuffixes);
366}
367
368namespace {
369struct entry_to_remove

Callers 1

ExpandPathsMethod · 0.95

Calls 3

AddEnvPathMethod · 0.80
AddSuffixesMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected