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

Method CreateLocalGenerator

Source/cmGlobalXCodeGenerator.cxx:674–686  ·  view source on GitHub ↗

Create a local generator appropriate to this Global Generator

Source from the content-addressed store, hash-verified

672
673//! Create a local generator appropriate to this Global Generator
674std::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
688void cmGlobalXCodeGenerator::AddExtraIDETargets()
689{

Callers

nothing calls this directly

Calls 1

SetLinkScriptShellMethod · 0.80

Tested by

no test coverage detected