| 95 | } |
| 96 | |
| 97 | cmSourceGroup* cmSourceGroup::LookupChild(std::string const& name) const |
| 98 | { |
| 99 | for (auto& group : this->Internal->GroupChildren) { |
| 100 | // look if descendant is the one we're looking for |
| 101 | if (group->GetName() == name) { |
| 102 | return group.get(); // if so return it |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | // if no child with this name was found return NULL |
| 107 | return nullptr; |
| 108 | } |
| 109 | |
| 110 | cmSourceGroup* cmSourceGroup::MatchChildrenFiles(std::string const& name) |
| 111 | { |
no test coverage detected