| 136 | } |
| 137 | |
| 138 | void cmMakefileTargetGenerator::GetTargetLinkFlags( |
| 139 | std::string& flags, std::string const& linkLanguage) |
| 140 | { |
| 141 | this->LocalGenerator->AddTargetPropertyLinkFlags( |
| 142 | flags, this->GeneratorTarget, this->GetConfigName()); |
| 143 | |
| 144 | std::vector<std::string> opts; |
| 145 | this->GeneratorTarget->GetLinkOptions(opts, this->GetConfigName(), |
| 146 | linkLanguage); |
| 147 | this->LocalGenerator->SetLinkScriptShell( |
| 148 | this->GlobalGenerator->GetUseLinkScript()); |
| 149 | // LINK_OPTIONS are escaped. |
| 150 | this->LocalGenerator->AppendCompileOptions(flags, opts); |
| 151 | this->LocalGenerator->SetLinkScriptShell(false); |
| 152 | |
| 153 | this->LocalGenerator->AppendLinkerTypeFlags( |
| 154 | flags, this->GeneratorTarget, this->GetConfigName(), linkLanguage); |
| 155 | this->LocalGenerator->AppendPositionIndependentLinkerFlags( |
| 156 | flags, this->GeneratorTarget, this->GetConfigName(), linkLanguage); |
| 157 | this->LocalGenerator->AppendWarningAsErrorLinkerFlags( |
| 158 | flags, this->GeneratorTarget, linkLanguage); |
| 159 | this->LocalGenerator->AppendDependencyInfoLinkerFlags( |
| 160 | flags, this->GeneratorTarget, this->GetConfigName(), linkLanguage); |
| 161 | } |
| 162 | |
| 163 | void cmMakefileTargetGenerator::CreateRuleFile() |
| 164 | { |
no test coverage detected