CMAKE_LINK_USING_FEATURE.rst 802 B

1234567891011121314151617181920212223
  1. CMAKE_LINK_USING_<FEATURE>
  2. --------------------------
  3. .. versionadded:: 3.24
  4. This variable defines, for the specified ``FEATURE``, the expression expected
  5. by the linker, regardless the linker language, when libraries are specified
  6. using :genex:`LINK_LIBRARY` generator expression.
  7. .. note::
  8. Feature names defined in all uppercase are reserved to CMake.
  9. See also the associated variable
  10. :variable:`CMAKE_LINK_USING_<FEATURE>_SUPPORTED` and
  11. :variable:`CMAKE_<LANG>_LINK_USING_<FEATURE>` variable for the definition of
  12. features dependent from the link language.
  13. This variable will be used by :genex:`LINK_LIBRARY` generator expression if,
  14. for the linker language, the variable
  15. :variable:`CMAKE_<LANG>_LINK_USING_<FEATURE>_SUPPORTED` is false or not set.
  16. .. include:: CMAKE_LINK_USING_FEATURE.txt