mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 11:50:11 -05:00
Merge topic 'doc-CMP0128' into release-3.22
8371056fbb Help: Correct inaccuracies in wording for CMP0128
Acked-by: Kitware Robot <kwrobot@kitware.com>
Reviewed-by: Raul Tambre <raul@tambre.ee>
Merge-request: !6711
This commit is contained in:
@@ -6,6 +6,7 @@ CMP0128
|
||||
When this policy is set to ``NEW``:
|
||||
|
||||
* :prop_tgt:`<LANG>_EXTENSIONS` is initialized to
|
||||
:variable:`CMAKE_<LANG>_EXTENSIONS` if set, otherwise falling back to
|
||||
:variable:`CMAKE_<LANG>_EXTENSIONS_DEFAULT`.
|
||||
|
||||
* Extensions are correctly disabled/enabled if :prop_tgt:`<LANG>_STANDARD` is
|
||||
@@ -16,7 +17,8 @@ When this policy is set to ``NEW``:
|
||||
|
||||
The ``OLD`` behavior:
|
||||
|
||||
* Initializes :prop_tgt:`<LANG>_EXTENSIONS` to ``ON``.
|
||||
* Initializes :prop_tgt:`<LANG>_EXTENSIONS` to
|
||||
:variable:`CMAKE_<LANG>_EXTENSIONS` if set, otherwise falling back to ``ON``.
|
||||
|
||||
* Always adds a flag if :prop_tgt:`<LANG>_STANDARD` is set and
|
||||
:prop_tgt:`<LANG>_STANDARD_REQUIRED` is ``OFF``.
|
||||
|
||||
Reference in New Issue
Block a user