mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-03 22:30:29 +00:00
Help: Mention CMAKE_<LANG>_LINK_FLAGS where relevant
Also, correct the documentation added in commit 98f9874703 (cmake:
Add per-language link flags for all target types, 2025-12-17) by
placing the variables in the proper section of cmake-variables(7).
Issue: #21934
This commit is contained in:
@@ -42,3 +42,8 @@ See Also
|
||||
* :variable:`CMAKE_<LANG>_FLAGS` and :variable:`CMAKE_<LANG>_FLAGS_<CONFIG>`
|
||||
add language-wide flags passed to all invocations of the compiler.
|
||||
This includes invocations that drive compiling and those that drive linking.
|
||||
|
||||
* .. versionadded:: 4.3
|
||||
:variable:`CMAKE_<LANG>_LINK_FLAGS` and
|
||||
:variable:`CMAKE_<LANG>_LINK_FLAGS_<CONFIG>` add language-wide flags passed
|
||||
to all invocations of the compiler which drive linking.
|
||||
|
||||
@@ -67,5 +67,10 @@ See Also
|
||||
add language-wide flags passed to all invocations of the compiler.
|
||||
This includes invocations that drive compiling and those that drive linking.
|
||||
|
||||
* .. versionadded:: 4.3
|
||||
:variable:`CMAKE_<LANG>_LINK_FLAGS` and
|
||||
:variable:`CMAKE_<LANG>_LINK_FLAGS_<CONFIG>` add language-wide flags passed
|
||||
to all invocations of the compiler which drive linking.
|
||||
|
||||
* The :module:`CheckLinkerFlag` module to check whether a linker flag is
|
||||
supported by the compiler.
|
||||
|
||||
Reference in New Issue
Block a user