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

Method ComputeCustomCommandOrder

Source/cmGhsMultiTargetGenerator.cxx:764–781  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

762}
763
764bool 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
783bool cmGhsMultiTargetGenerator::VisitCustomCommand(
784 std::set<cmSourceFile const*>& temp, std::set<cmSourceFile const*>& perm,

Callers 1

WriteSourcesMethod · 0.95

Calls 2

VisitCustomCommandMethod · 0.95
GetCustomCommandsMethod · 0.80

Tested by

no test coverage detected