diff options
author | Craig Scott <craig.scott@crascit.com> | 2022-06-27 10:36:58 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2022-07-03 04:34:41 (GMT) |
commit | d185f7c0a8cac19edaea8d54c2a12b51a622731b (patch) | |
tree | 96ab4b102d1d8a94536b0e09915d2911d3c505d5 /Help/variable/CMAKE_LANG_LINK_GROUP_USING_FEATURE_SUPPORTED.rst | |
parent | 8c562ece28b7a13ddb734b8c51710ebafe9ac570 (diff) | |
download | CMake-d185f7c0a8cac19edaea8d54c2a12b51a622731b.zip CMake-d185f7c0a8cac19edaea8d54c2a12b51a622731b.tar.gz CMake-d185f7c0a8cac19edaea8d54c2a12b51a622731b.tar.bz2 |
Help: Rework $<LINK_LIBRARY>, $<LINK_GROUP> and related docs
These changes restructure the docs to improve readability and flow,
correct grammar and typos, and fix errors and inconsistencies in
some of the examples.
Fixes: #23684
Diffstat (limited to 'Help/variable/CMAKE_LANG_LINK_GROUP_USING_FEATURE_SUPPORTED.rst')
-rw-r--r-- | Help/variable/CMAKE_LANG_LINK_GROUP_USING_FEATURE_SUPPORTED.rst | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Help/variable/CMAKE_LANG_LINK_GROUP_USING_FEATURE_SUPPORTED.rst b/Help/variable/CMAKE_LANG_LINK_GROUP_USING_FEATURE_SUPPORTED.rst index 533eee7..b314c5a 100644 --- a/Help/variable/CMAKE_LANG_LINK_GROUP_USING_FEATURE_SUPPORTED.rst +++ b/Help/variable/CMAKE_LANG_LINK_GROUP_USING_FEATURE_SUPPORTED.rst @@ -3,11 +3,12 @@ CMAKE_<LANG>_LINK_GROUP_USING_<FEATURE>_SUPPORTED .. versionadded:: 3.24 -Set to ``TRUE`` if the ``<FEATURE>``, as defined by variable -:variable:`CMAKE_<LANG>_LINK_GROUP_USING_<FEATURE>`, is supported for the -linker language ``<LANG>``. - -.. note:: - - This variable is evaluated before the more generic variable - :variable:`CMAKE_LINK_GROUP_USING_<FEATURE>_SUPPORTED`. +This variable specifies whether the ``<FEATURE>`` is supported for the link +language ``<LANG>``. If this variable is true, then the ``<FEATURE>`` must +be defined by :variable:`CMAKE_<LANG>_LINK_GROUP_USING_<FEATURE>`, and the +more generic :variable:`CMAKE_LINK_GROUP_USING_<FEATURE>_SUPPORTED` and +:variable:`CMAKE_LINK_GROUP_USING_<FEATURE>` variables are not used. + +If ``CMAKE_<LANG>_LINK_GROUP_USING_<FEATURE>_SUPPORTED`` is false or is not +set, then the :variable:`CMAKE_LINK_GROUP_USING_<FEATURE>_SUPPORTED` variable +will determine whether ``<FEATURE>`` is deemed to be supported. |