INTERFACE_LINK_LIBRARIES.rst 1023 B

123456789101112131415161718192021222324
  1. INTERFACE_LINK_LIBRARIES
  2. ------------------------
  3. List public interface libraries for a library.
  4. This property contains the list of transitive link dependencies. When
  5. the target is linked into another target using the
  6. :command:`target_link_libraries` command, the libraries listed (and
  7. recursively their link interface libraries) will be provided to the
  8. other target also. This property is overridden by the
  9. :prop_tgt:`LINK_INTERFACE_LIBRARIES` or
  10. :prop_tgt:`LINK_INTERFACE_LIBRARIES_<CONFIG>` property if policy
  11. :policy:`CMP0022` is ``OLD`` or unset.
  12. Contents of ``INTERFACE_LINK_LIBRARIES`` may use "generator expressions"
  13. with the syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)`
  14. manual for available expressions. See the :manual:`cmake-buildsystem(7)`
  15. manual for more on defining buildsystem properties.
  16. Creating Relocatable Packages
  17. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  18. .. |INTERFACE_PROPERTY_LINK| replace:: ``INTERFACE_LINK_LIBRARIES``
  19. .. include:: /include/INTERFACE_LINK_LIBRARIES_WARNING.txt