diff options
author | Brad King <brad.king@kitware.com> | 2009-09-02 20:06:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-09-02 20:06:43 (GMT) |
commit | 0af3b3b8028bfe01621887d115dfbdcd3890e602 (patch) | |
tree | ab73a0311cd6e2de0256cc63ecd5409630946376 /Source/cmLocalVisualStudio7Generator.cxx | |
parent | 7e20db0224571361d6d5f62fc58b12452bec826b (diff) | |
download | CMake-0af3b3b8028bfe01621887d115dfbdcd3890e602.zip CMake-0af3b3b8028bfe01621887d115dfbdcd3890e602.tar.gz CMake-0af3b3b8028bfe01621887d115dfbdcd3890e602.tar.bz2 |
Speed up graph traversal for project->targets map
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.
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
0 files changed, 0 insertions, 0 deletions