rendered paste bodyvoid cmComputeLinkDepends::FollowLinkEntry(BFSEntry const& qe){ // Get this entry representation. int depender_index = qe.Index; LinkEntry const& entry = this->EntryList[depender_index]; // Follow the item's dependencies. if(entry.Target) { // Follow the target dependencies. if(cmTargetLinkInterface const* iface = entry.Target->GetLinkInterface(this->Config)) { // This target provides its own link interface information. this->AddLinkEntries(depender_index, iface->Libraries); // Handle dependent shared libraries. this->QueueSharedDependencies(depender_index, iface->SharedDeps); } else if(!entry.Target->IsImported() && entry.Target->GetType() != cmTarget::EXECUTABLE) { // Use the target's link implementation as the interface.// this->AddTargetLinkEntries(depender_index,// entry.Target->GetOriginalLinkLibraries()); } } else { // Follow the old-style dependency list. this->AddVarLinkEntries(depender_index, qe.LibDepends); }}