Skip to content
  • Brad King's avatar
    Speed up graph traversal for project->targets map · 0af3b3b8
    Brad King authored
    The cmGlobalGenerator::AddTargetDepends method traces the dependencies
    of targets recursively to collect the complete set of targets needed for
    a given project (for VS .sln files).  This commit teaches the method to
    avoid tracing its dependencies more than once.  Otherwise the code does
    an all-paths walk needlessly.
    0af3b3b8