All pastes #988909 Raw Edit

MoDaX

public cpp v1 · immutable
#988909 ·published 2008-04-17 23:37 UTC
rendered paste body
void 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);    }}