MCPcopy Index your code
hub / github.com/Kitware/CMake / WriteFrameworkRules

Method WriteFrameworkRules

Source/cmMakefileLibraryTargetGenerator.cxx:243–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241}
242
243void cmMakefileLibraryTargetGenerator::WriteFrameworkRules(bool relink)
244{
245 std::string linkLanguage =
246 this->GeneratorTarget->GetLinkerLanguage(this->GetConfigName());
247 std::string linkRuleVar =
248 cmStrCat("CMAKE_", linkLanguage, "_CREATE_MACOSX_FRAMEWORK");
249
250 std::string extraFlags;
251 this->LocalGenerator->AppendTargetCreationLinkFlags(
252 extraFlags, this->GeneratorTarget, linkLanguage);
253 this->LocalGenerator->AddConfigVariableFlags(
254 extraFlags, "CMAKE_MACOSX_FRAMEWORK_LINKER_FLAGS", this->GeneratorTarget,
255 cmBuildStep::Link, linkLanguage, this->GetConfigName());
256 this->GetTargetLinkFlags(extraFlags, linkLanguage);
257
258 this->WriteLibraryRules(linkRuleVar, extraFlags, relink);
259}
260
261void cmMakefileLibraryTargetGenerator::WriteDeviceLibraryRules(
262 std::string const& linkRuleVar, bool relink)

Callers 1

Calls 6

WriteLibraryRulesMethod · 0.95
GetTargetLinkFlagsMethod · 0.80
cmStrCatFunction · 0.70
GetLinkerLanguageMethod · 0.45

Tested by

no test coverage detected