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

Method ExpandPaths

Source/cmFindBase.cxx:281–304  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281void cmFindBase::ExpandPaths()
282{
283 if (!this->NoDefaultPath) {
284 if (!this->NoPackageRootPath) {
285 this->FillPackageRootPath();
286 }
287 if (!this->NoCMakePath) {
288 this->FillCMakeVariablePath();
289 }
290 if (!this->NoCMakeEnvironmentPath) {
291 this->FillCMakeEnvironmentPath();
292 }
293 }
294 this->FillUserHintsPath();
295 if (!this->NoDefaultPath) {
296 if (!this->NoSystemEnvironmentPath) {
297 this->FillSystemEnvironmentPath();
298 }
299 if (!this->NoCMakeSystemPath) {
300 this->FillCMakeSystemVariablePath();
301 }
302 }
303 this->FillUserGuessPath();
304}
305
306void cmFindBase::FillCMakeEnvironmentPath()
307{

Callers 1

ParseArgumentsMethod · 0.95

Calls 7

FillPackageRootPathMethod · 0.95
FillCMakeVariablePathMethod · 0.95
FillUserHintsPathMethod · 0.95
FillUserGuessPathMethod · 0.95

Tested by

no test coverage detected