diff options
author | Brad King <brad.king@kitware.com> | 2009-09-01 14:37:37 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-09-01 14:37:37 (GMT) |
commit | 69251f75492a9bd1e3122e8e7ae7888e9c700a57 (patch) | |
tree | 2093785c45d7fb4601b1821d250658727711663b /Source/cmComputeLinkDepends.h | |
parent | 78160cee6e38feb651478dbe859a491a807b9dbc (diff) | |
download | CMake-69251f75492a9bd1e3122e8e7ae7888e9c700a57.zip CMake-69251f75492a9bd1e3122e8e7ae7888e9c700a57.tar.gz CMake-69251f75492a9bd1e3122e8e7ae7888e9c700a57.tar.bz2 |
Define 'multiplicity' for cyclic dependencies
We create target property "LINK_INTERFACE_MULTIPLICITY" and a per-config
version "LINK_INTERFACE_MULTIPLICITY_<CONFIG>". It sets the number of
times a linker should scan through a mutually dependent group of static
libraries. The largest value of this property on any target in the
group is used. This will help projects link even for extreme cases of
cyclic inter-target dependencies.
Diffstat (limited to 'Source/cmComputeLinkDepends.h')
-rw-r--r-- | Source/cmComputeLinkDepends.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmComputeLinkDepends.h b/Source/cmComputeLinkDepends.h index d692010..f313319 100644 --- a/Source/cmComputeLinkDepends.h +++ b/Source/cmComputeLinkDepends.h @@ -153,6 +153,7 @@ private: void VisitComponent(unsigned int c); void VisitEntry(int index); PendingComponent& MakePendingComponent(unsigned int component); + int ComputeComponentCount(NodeList const& nl); void DisplayFinalEntries(); // Record of the original link line. |