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

Method CheckGraph

Source/cmGeneratorExpressionDAGChecker.cxx:114–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114cmGeneratorExpressionDAGChecker::Result
115cmGeneratorExpressionDAGChecker::CheckGraph() const
116{
117 cmGeneratorExpressionDAGChecker const* parent = this->Parent;
118 while (parent) {
119 if (this->Target == parent->Target && this->Property == parent->Property) {
120 return (parent == this->Parent) ? SELF_REFERENCE : CYCLIC_REFERENCE;
121 }
122 parent = parent->Parent;
123 }
124 return DAG;
125}
126
127bool cmGeneratorExpressionDAGChecker::GetTransitivePropertiesOnly() const
128{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected