| 267 | } |
| 268 | |
| 269 | std::string cmCommonTargetGenerator::GetManifests(std::string const& config) |
| 270 | { |
| 271 | std::vector<cmSourceFile const*> manifest_srcs; |
| 272 | this->GeneratorTarget->GetManifests(manifest_srcs, config); |
| 273 | |
| 274 | std::vector<std::string> manifests; |
| 275 | manifests.reserve(manifest_srcs.size()); |
| 276 | |
| 277 | std::string lang = this->GeneratorTarget->GetLinkerLanguage(config); |
| 278 | std::string manifestFlag = this->Makefile->GetDefinition( |
| 279 | cmStrCat("CMAKE_", lang, "_LINKER_MANIFEST_FLAG")); |
| 280 | for (cmSourceFile const* manifest_src : manifest_srcs) { |
| 281 | manifests.push_back(manifestFlag + |
| 282 | this->LocalCommonGenerator->ConvertToOutputFormat( |
| 283 | this->LocalCommonGenerator->MaybeRelativeToWorkDir( |
| 284 | manifest_src->GetFullPath()), |
| 285 | cmOutputConverter::SHELL)); |
| 286 | } |
| 287 | |
| 288 | return cmJoin(manifests, " "); |
| 289 | } |
| 290 | |
| 291 | std::string cmCommonTargetGenerator::GetAIXExports(std::string const&) |
| 292 | { |
nothing calls this directly
no test coverage detected