MCPcopy Create free account
hub / github.com/Kitware/CMake / GetManifests

Method GetManifests

Source/cmCommonTargetGenerator.cxx:269–289  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

267}
268
269std::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
291std::string cmCommonTargetGenerator::GetAIXExports(std::string const&)
292{

Callers

nothing calls this directly

Calls 10

reserveMethod · 0.80
push_backMethod · 0.80
cmStrCatFunction · 0.70
cmJoinFunction · 0.70
sizeMethod · 0.45
GetLinkerLanguageMethod · 0.45
GetDefinitionMethod · 0.45
ConvertToOutputFormatMethod · 0.45
GetFullPathMethod · 0.45

Tested by

no test coverage detected