| 1477 | }; |
| 1478 | |
| 1479 | struct cmCompareTargets |
| 1480 | { |
| 1481 | bool operator()(cmXCodeObject* l, cmXCodeObject* r) const |
| 1482 | { |
| 1483 | std::string const& a = l->GetTarget()->GetName(); |
| 1484 | std::string const& b = r->GetTarget()->GetName(); |
| 1485 | if (a == b) { |
| 1486 | return false; |
| 1487 | } |
| 1488 | if (a == "ALL_BUILD"_s) { |
| 1489 | return true; |
| 1490 | } |
| 1491 | if (b == "ALL_BUILD"_s) { |
| 1492 | return false; |
| 1493 | } |
| 1494 | std::string a_low = cmSystemTools::LowerCase(l->GetTarget()->GetName()); |
| 1495 | std::string b_low = cmSystemTools::LowerCase(r->GetTarget()->GetName()); |
| 1496 | if (a_low != b_low) { |
| 1497 | return a_low < b_low; |
| 1498 | } |
| 1499 | return a < b; |
| 1500 | } |
| 1501 | }; |
| 1502 | |
| 1503 | bool cmGlobalXCodeGenerator::CreateXCodeTargets( |
| 1504 | cmLocalGenerator* gen, std::vector<cmXCodeObject*>& targets) |
no outgoing calls
no test coverage detected
searching dependent graphs…