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

Method GetBuildsystemDirectoryParent

Source/cmStateSnapshot.cxx:95–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95cmStateSnapshot cmStateSnapshot::GetBuildsystemDirectoryParent() const
96{
97 cmStateSnapshot snapshot;
98 if (!this->State || this->Position == this->State->SnapshotData.Root()) {
99 return snapshot;
100 }
101 cmStateDetail::PositionType parentPos = this->Position->DirectoryParent;
102 if (parentPos != this->State->SnapshotData.Root()) {
103 snapshot = cmStateSnapshot(this->State,
104 parentPos->BuildSystemDirectory->CurrentScope);
105 }
106
107 return snapshot;
108}
109
110cmStateSnapshot cmStateSnapshot::GetCallStackParent() const
111{

Callers 15

RaiseScopeMethod · 0.95
IsRootMakefileMethod · 0.80
GenerateMethod · 0.80
AddExtraTargetsMethod · 0.80
IsExcludedMethod · 0.80
FillProjectMapMethod · 0.80
IsRootMakefileMethod · 0.80
GetFeatureMethod · 0.80
GetPropertyMethod · 0.80

Calls 2

RootMethod · 0.80
cmStateSnapshotClass · 0.70

Tested by

no test coverage detected