LINK_LIBRARIES.rst 689 B

1234567891011121314151617
  1. LINK_LIBRARIES
  2. --------------
  3. List of direct link dependencies.
  4. This property specifies the list of libraries or targets which will be
  5. used for linking. In addition to accepting values from the
  6. :command:`target_link_libraries` command, values may be set directly on
  7. any target using the :command:`set_property` command.
  8. The value of this property is used by the generators to set the link
  9. libraries for the compiler.
  10. Contents of ``LINK_LIBRARIES`` may use "generator expressions" with the
  11. syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)` manual
  12. for available expressions. See the :manual:`cmake-buildsystem(7)` manual
  13. for more on defining buildsystem properties.