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

Method EnableLanguage

Source/cmGlobalXCodeGenerator.cxx:517–526  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

515};
516
517void cmGlobalXCodeGenerator::EnableLanguage(
518 std::vector<std::string> const& lang, cmMakefile* mf, bool optional)
519{
520 mf->AddDefinition("XCODE", "1");
521 mf->AddDefinition("XCODE_VERSION", this->VersionString);
522 mf->InitCMAKE_CONFIGURATION_TYPES("Debug;Release;MinSizeRel;RelWithDebInfo");
523 mf->AddDefinition("CMAKE_GENERATOR_NO_COMPILER_ENV", "1");
524 this->cmGlobalGenerator::EnableLanguage(lang, mf, optional);
525 this->ComputeArchitectures(mf);
526}
527
528bool cmGlobalXCodeGenerator::Open(std::string const& bindir,
529 std::string const& projectName, bool dryRun)

Callers

nothing calls this directly

Calls 3

ComputeArchitecturesMethod · 0.95
AddDefinitionMethod · 0.45

Tested by

no test coverage detected