diff options
author | Brad King <brad.king@kitware.com> | 2010-08-25 14:07:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2010-08-25 21:10:00 (GMT) |
commit | 681cf011dde81c08c0404569289110f9585c6daf (patch) | |
tree | 63c7bab28a00c110e4946d13aeb168c5d1fa66bf /Source/cmComputeLinkDepends.cxx | |
parent | 7be2617b5a52529ce0ca33e6c878a0294e1e2781 (diff) | |
download | CMake-681cf011dde81c08c0404569289110f9585c6daf.zip CMake-681cf011dde81c08c0404569289110f9585c6daf.tar.gz CMake-681cf011dde81c08c0404569289110f9585c6daf.tar.bz2 |
Distinguish "strong" and "weak" target dependency edges
Utility dependencies are "strong" because they must be enforced to
generate a working build. Link dependencies are "weak" because they can
be broken in the case of a static library cycle.
Diffstat (limited to 'Source/cmComputeLinkDepends.cxx')
-rw-r--r-- | Source/cmComputeLinkDepends.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmComputeLinkDepends.cxx b/Source/cmComputeLinkDepends.cxx index 4b0214e..342c217 100644 --- a/Source/cmComputeLinkDepends.cxx +++ b/Source/cmComputeLinkDepends.cxx @@ -761,7 +761,8 @@ cmComputeLinkDepends::DisplayComponents() EdgeList const& ol = this->CCG->GetComponentGraphEdges(c); for(EdgeList::const_iterator oi = ol.begin(); oi != ol.end(); ++oi) { - fprintf(stderr, " followed by Component (%d)\n", *oi); + int i = *oi; + fprintf(stderr, " followed by Component (%d)\n", i); } fprintf(stderr, " topo order index %d\n", this->ComponentOrder[c]); |