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

Function processILibs

Source/cmGeneratorTarget_Link.cxx:282–298  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282static void processILibs(std::string const& config,
283 cmGeneratorTarget const* headTarget,
284 cmLinkItem const& item, cmGlobalGenerator* gg,
285 std::vector<cmGeneratorTarget const*>& tgts,
286 std::set<cmGeneratorTarget const*>& emitted,
287 UseTo usage)
288{
289 if (item.Target && emitted.insert(item.Target).second) {
290 tgts.push_back(item.Target);
291 if (cmLinkInterfaceLibraries const* iface =
292 item.Target->GetLinkInterfaceLibraries(config, headTarget, usage)) {
293 for (cmLinkItem const& lib : iface->Libraries) {
294 processILibs(config, headTarget, lib, gg, tgts, emitted, usage);
295 }
296 }
297 }
298}
299
300std::vector<cmGeneratorTarget const*>
301cmGeneratorTarget::GetLinkInterfaceClosure(std::string const& config,

Callers 2

Calls 3

push_backMethod · 0.80
insertMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…