| 1816 | } |
| 1817 | |
| 1818 | void cmGlobalGenerator::ComputeTargetOrder() |
| 1819 | { |
| 1820 | size_t index = 0; |
| 1821 | auto const& lgens = this->GetLocalGenerators(); |
| 1822 | for (auto const& lgen : lgens) { |
| 1823 | auto const& targets = lgen->GetGeneratorTargets(); |
| 1824 | for (auto const& gt : targets) { |
| 1825 | this->ComputeTargetOrder(gt.get(), index); |
| 1826 | } |
| 1827 | } |
| 1828 | assert(index == this->TargetOrderIndex.size()); |
| 1829 | } |
| 1830 | |
| 1831 | void cmGlobalGenerator::ComputeTargetOrder(cmGeneratorTarget const* gt, |
| 1832 | size_t& index) |
no test coverage detected