diff --git a/Help/variable/CMAKE_LANG_LINK_MODE.rst b/Help/variable/CMAKE_LANG_LINK_MODE.rst index 60256714fa..f8286e43e8 100644 --- a/Help/variable/CMAKE_LANG_LINK_MODE.rst +++ b/Help/variable/CMAKE_LANG_LINK_MODE.rst @@ -12,3 +12,8 @@ Defines how the link step is done. The possible values are: The linker is used directly for the link step. This variable is read-only. Setting it is undefined behavior. + +See Also +^^^^^^^^ + +* The :variable:`CMAKE__USING_LINKER_` variable. diff --git a/Help/variable/CMAKE_LANG_USING_LINKER_MODE.rst b/Help/variable/CMAKE_LANG_USING_LINKER_MODE.rst index 7b252aae03..a3d6c972ad 100644 --- a/Help/variable/CMAKE_LANG_USING_LINKER_MODE.rst +++ b/Help/variable/CMAKE_LANG_USING_LINKER_MODE.rst @@ -1,10 +1,17 @@ CMAKE__USING_LINKER_MODE ------------------------------ +.. deprecated:: 4.0 + + This variable is no longer used. The type of information stored in the + :variable:`CMAKE__USING_LINKER_` variable is determined by + the :variable:`CMAKE__LINK_MODE` variable. + .. versionadded:: 3.29 -This controls how the value of the :variable:`CMAKE__USING_LINKER_` -variable should be interpreted. The supported linker mode values are: +This variable controls how the value of the +:variable:`CMAKE__USING_LINKER_` variable should be interpreted. +The supported linker mode values are: ``FLAG`` :variable:`CMAKE__USING_LINKER_` holds a @@ -22,11 +29,5 @@ variable should be interpreted. The supported linker mode values are: * value ``TOOL`` is expected and required when the linker is used directly for the link step. - * value ``FLAGS`` is expected or the variable not set when the compiler is + * value ``FLAG`` is expected or the variable not set when the compiler is used as driver for the link step. - -.. deprecated:: 4.0 - -This variable is no longer used. The type of information stored in the -:variable:`CMAKE__USING_LINKER_` variable is determined by the -:variable:`CMAKE__LINK_MODE` variable.