mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-28 09:59:20 -05:00
Link step: Add LINK_WARNING_AS_ERROR target property
Add a way to specify, in a portable way, to raise an error for any warning during the link step. For that purpose, define: * CMAKE_LINK_WARNING_AS_ERROR variable * LINK_WARNING_AS_ERROR target property Fixes: #25343
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
CMAKE_LINK_WARNING_AS_ERROR
|
||||
---------------------------
|
||||
|
||||
.. versionadded:: 3.32
|
||||
|
||||
Specify whether to treat warnings on link as errors.
|
||||
|
||||
This variable is used to initialize the
|
||||
:prop_tgt:`LINK_WARNING_AS_ERROR` property on all the targets.
|
||||
Reference in New Issue
Block a user