CMAKE_LINK_GROUP_USING_FEATURE.rst 873 B

12345678910111213141516171819202122232425
  1. CMAKE_LINK_GROUP_USING_<FEATURE>
  2. --------------------------------
  3. .. versionadded:: 3.24
  4. This variable defines, for the specified ``<FEATURE>``, the expression expected
  5. by the linker when libraries are specified using :genex:`LINK_GROUP` generator
  6. expression.
  7. .. note::
  8. * Feature names can contain Latin letters, digits and undercores.
  9. * Feature names defined in all uppercase are reserved to CMake.
  10. See also the associated variable
  11. :variable:`CMAKE_LINK_GROUP_USING_<FEATURE>_SUPPORTED` and
  12. :variable:`CMAKE_<LANG>_LINK_GROUP_USING_<FEATURE>` variable for the definition
  13. of features dependent from the link language.
  14. This variable will be used by :genex:`LINK_GROUP` generator expression if,
  15. for the linker language, the variable
  16. :variable:`CMAKE_<LANG>_LINK_GROUP_USING_<FEATURE>_SUPPORTED` is false or not
  17. set.
  18. .. include:: CMAKE_LINK_GROUP_USING_FEATURE.txt