Create a local generator appropriate to this Global Generator
| 672 | |
| 673 | //! Create a local generator appropriate to this Global Generator |
| 674 | std::unique_ptr<cmLocalGenerator> cmGlobalXCodeGenerator::CreateLocalGenerator( |
| 675 | cmMakefile* mf) |
| 676 | { |
| 677 | std::unique_ptr<cmLocalGenerator> lg( |
| 678 | cm::make_unique<cmLocalXCodeGenerator>(this, mf)); |
| 679 | if (this->XcodeBuildSystem >= BuildSystem::Twelve) { |
| 680 | // For this build system variant we generate custom commands as |
| 681 | // shell scripts directly rather than inside Makefiles. |
| 682 | // FIXME: Rename or refactor this option for clarity. |
| 683 | lg->SetLinkScriptShell(true); |
| 684 | } |
| 685 | return lg; |
| 686 | } |
| 687 | |
| 688 | void cmGlobalXCodeGenerator::AddExtraIDETargets() |
| 689 | { |
nothing calls this directly
no test coverage detected