| 2332 | } |
| 2333 | |
| 2334 | Json::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 | |
| 2352 | Json::Value Target::DumpLinkInterfaceLibraries(cmGeneratorTarget::UseTo usage) |
| 2353 | { |
no test coverage detected