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

Method ComputeTargetOrder

Source/cmGlobalGenerator.cxx:1818–1829  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1816}
1817
1818void 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
1831void cmGlobalGenerator::ComputeTargetOrder(cmGeneratorTarget const* gt,
1832 size_t& index)

Callers 1

ComputeMethod · 0.95

Calls 4

getMethod · 0.45
sizeMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected