| 121 | } |
| 122 | |
| 123 | void cmMakefileTargetGenerator::GetDeviceLinkFlags( |
| 124 | std::string& linkFlags, std::string const& linkLanguage) |
| 125 | { |
| 126 | cmGeneratorTarget::DeviceLinkSetter setter(*this->GetGeneratorTarget()); |
| 127 | |
| 128 | std::vector<std::string> linkOpts; |
| 129 | this->GeneratorTarget->GetLinkOptions(linkOpts, this->GetConfigName(), |
| 130 | linkLanguage); |
| 131 | this->LocalGenerator->SetLinkScriptShell( |
| 132 | this->GlobalGenerator->GetUseLinkScript()); |
| 133 | // LINK_OPTIONS are escaped. |
| 134 | this->LocalGenerator->AppendCompileOptions(linkFlags, linkOpts); |
| 135 | this->LocalGenerator->SetLinkScriptShell(false); |
| 136 | } |
| 137 | |
| 138 | void cmMakefileTargetGenerator::GetTargetLinkFlags( |
| 139 | std::string& flags, std::string const& linkLanguage) |
no test coverage detected