| 2350 | } |
| 2351 | |
| 2352 | Json::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 | |
| 2369 | Json::Value Target::DumpObjectDependencies() |
| 2370 | { |
no test coverage detected