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

Method MatchChildrenFiles

Source/cmSourceGroup.cxx:110–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110cmSourceGroup* cmSourceGroup::MatchChildrenFiles(std::string const& name)
111{
112 if (this->MatchesFiles(name)) {
113 return this;
114 }
115 for (auto& group : this->Internal->GroupChildren) {
116 cmSourceGroup* result = group->MatchChildrenFiles(name);
117 if (result) {
118 return result;
119 }
120 }
121 return nullptr;
122}
123
124cmSourceGroup const* cmSourceGroup::MatchChildrenFiles(
125 std::string const& name) const

Callers 2

addFileSetEntryFunction · 0.80
FindSourceGroupMethod · 0.80

Calls 1

MatchesFilesMethod · 0.95

Tested by

no test coverage detected