| 241 | } |
| 242 | |
| 243 | void 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 | |
| 261 | void cmMakefileLibraryTargetGenerator::WriteDeviceLibraryRules( |
| 262 | std::string const& linkRuleVar, bool relink) |
no test coverage detected