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

Method DumpLinkImplementationLibraries

Source/cmFileAPICodemodel.cxx:2334–2350  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2332}
2333
2334Json::Value Target::DumpLinkImplementationLibraries(
2335 cmGeneratorTarget::UseTo usage)
2336{
2337 Json::Value jsonLibs = Json::arrayValue;
2338
2339 cmLinkImplementationLibraries const* implLibs =
2340 this->GT->GetLinkImplementationLibraries(this->Config, usage);
2341 if (implLibs) {
2342 for (cmLinkItem const& linkItem : implLibs->Libraries) {
2343 // Non-target compile items are never used, so we drop them here too
2344 if (usage == cmGeneratorTarget::UseTo::Link || linkItem.Target) {
2345 jsonLibs.append(this->DumpLinkItem(linkItem));
2346 }
2347 }
2348 }
2349 return jsonLibs;
2350}
2351
2352Json::Value Target::DumpLinkInterfaceLibraries(cmGeneratorTarget::UseTo usage)
2353{

Callers 1

DumpMethod · 0.95

Calls 3

DumpLinkItemMethod · 0.95
appendMethod · 0.80

Tested by

no test coverage detected