| 137 | } |
| 138 | |
| 139 | cmSourceGroup* cmSourceGroup::MatchChildrenRegex(std::string const& name) const |
| 140 | { |
| 141 | for (auto& group : this->Internal->GroupChildren) { |
| 142 | cmSourceGroup* result = group->MatchChildrenRegex(name); |
| 143 | if (result) { |
| 144 | return result; |
| 145 | } |
| 146 | } |
| 147 | if (this->MatchesRegex(name)) { |
| 148 | return const_cast<cmSourceGroup*>(this); |
| 149 | } |
| 150 | |
| 151 | return nullptr; |
| 152 | } |
| 153 | |
| 154 | SourceGroupVector const& cmSourceGroup::GetGroupChildren() const |
| 155 | { |
no test coverage detected