cmake/Help/prop_tgt/LINK_INTERFACE_MULTIPLICITY.rst

13 lines
587 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
LINK_INTERFACE_MULTIPLICITY
---------------------------
2019-11-11 23:01:05 +01:00
Repetition count for ``STATIC`` libraries with cyclic dependencies.
2014-08-03 19:52:23 +02:00
2019-11-11 23:01:05 +01:00
When linking to a ``STATIC`` library target with cyclic dependencies the
2014-08-03 19:52:23 +02:00
linker may need to scan more than once through the archives in the
strongly connected component of the dependency graph. CMake by
default constructs the link line so that the linker will scan through
the component at least twice. This property specifies the minimum
number of scans if it is larger than the default. CMake uses the
largest value specified by any target in a component.