| 762 | } |
| 763 | |
| 764 | bool cmGhsMultiTargetGenerator::ComputeCustomCommandOrder( |
| 765 | std::vector<cmSourceFile const*>& order) |
| 766 | { |
| 767 | std::set<cmSourceFile const*> temp; |
| 768 | std::set<cmSourceFile const*> perm; |
| 769 | |
| 770 | // Collect all custom commands for this target |
| 771 | std::vector<cmSourceFile const*> customCommands; |
| 772 | this->GeneratorTarget->GetCustomCommands(customCommands, this->ConfigName); |
| 773 | |
| 774 | for (cmSourceFile const* si : customCommands) { |
| 775 | bool r = this->VisitCustomCommand(temp, perm, order, si); |
| 776 | if (r) { |
| 777 | return r; |
| 778 | } |
| 779 | } |
| 780 | return false; |
| 781 | } |
| 782 | |
| 783 | bool cmGhsMultiTargetGenerator::VisitCustomCommand( |
| 784 | std::set<cmSourceFile const*>& temp, std::set<cmSourceFile const*>& perm, |
no test coverage detected