LINK_OPTIONS.rst 640 B

12345678910111213141516
  1. LINK_OPTIONS
  2. ------------
  3. List of options to use for the link step.
  4. This property holds a :ref:`;-list <CMake Language Lists>` of options
  5. given so far to the :command:`add_link_options` command.
  6. This property is used to initialize the :prop_tgt:`LINK_OPTIONS` target
  7. property when a target is created, which is used by the generators to set
  8. the options for the compiler.
  9. Contents of ``LINK_OPTIONS`` may use "generator expressions" with the
  10. syntax ``$<...>``. See the :manual:`cmake-generator-expressions(7)` manual
  11. for available expressions. See the :manual:`cmake-buildsystem(7)` manual
  12. for more on defining buildsystem properties.