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

Method DumpLinkInterfaceLibraries

Source/cmFileAPICodemodel.cxx:2352–2367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2350}
2351
2352Json::Value Target::DumpLinkInterfaceLibraries(cmGeneratorTarget::UseTo usage)
2353{
2354 Json::Value jsonLibs = Json::arrayValue;
2355
2356 cmLinkInterfaceLibraries const* ifaceLibs =
2357 this->GT->GetLinkInterfaceLibraries(this->Config, this->GT, usage);
2358 if (ifaceLibs) {
2359 for (cmLinkItem const& linkItem : ifaceLibs->Libraries) {
2360 // Non-target compile items are never used, so we drop them here too
2361 if (usage == cmGeneratorTarget::UseTo::Link || linkItem.Target) {
2362 jsonLibs.append(this->DumpLinkItem(linkItem));
2363 }
2364 }
2365 }
2366 return jsonLibs;
2367}
2368
2369Json::Value Target::DumpObjectDependencies()
2370{

Callers 1

DumpMethod · 0.95

Calls 3

DumpLinkItemMethod · 0.95
appendMethod · 0.80

Tested by

no test coverage detected