2013-10-15 19:17:36 +04:00
|
|
|
INTERFACE_LINK_LIBRARIES
|
|
|
|
------------------------
|
|
|
|
|
2013-11-04 17:33:36 +04:00
|
|
|
List public interface libraries for a library.
|
2013-10-15 19:17:36 +04:00
|
|
|
|
|
|
|
This property contains the list of transitive link dependencies. When
|
2014-11-22 14:46:13 +03:00
|
|
|
the target is linked into another target using the
|
|
|
|
:command:`target_link_libraries` command, the libraries listed (and
|
2013-10-15 19:17:36 +04:00
|
|
|
recursively their link interface libraries) will be provided to the
|
2013-11-04 17:33:36 +04:00
|
|
|
other target also. This property is overridden by the
|
2014-02-05 17:51:08 +04:00
|
|
|
:prop_tgt:`LINK_INTERFACE_LIBRARIES` or
|
|
|
|
:prop_tgt:`LINK_INTERFACE_LIBRARIES_<CONFIG>` property if policy
|
|
|
|
:policy:`CMP0022` is ``OLD`` or unset.
|
2013-10-15 19:17:36 +04:00
|
|
|
|
2014-02-05 17:51:08 +04:00
|
|
|
Contents of ``INTERFACE_LINK_LIBRARIES`` may use "generator expressions"
|
|
|
|
with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
|
|
|
|
manual for available expressions. See the :manual:`cmake-buildsystem(7)`
|
|
|
|
manual for more on defining buildsystem properties.
|
2014-11-22 15:16:05 +03:00
|
|
|
|
2015-04-02 22:45:48 +03:00
|
|
|
Creating Relocatable Packages
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
2014-11-22 15:16:05 +03:00
|
|
|
.. |INTERFACE_PROPERTY_LINK| replace:: ``INTERFACE_LINK_LIBRARIES``
|
|
|
|
.. include:: /include/INTERFACE_LINK_LIBRARIES_WARNING.txt
|