mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-24 07:28:54 -06:00
Merge topic 'doc-4.2-vs-flags'
faa88b28a5Help: Add 4.2 release note about VS flag suppression19527eb5c6Merge branch 'doc-4.1-vs-flags' into doc-4.2-vs-flagse2646b9926Help: Add 4.1 release note about VS flag suppression Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !11489
This commit is contained in:
@@ -219,6 +219,11 @@ Other Changes
|
||||
* The MSVC link ``-machine:`` flag is no longer added to the
|
||||
``CMAKE_*_LINKER_FLAGS`` variables. See policy :policy:`CMP0197`.
|
||||
|
||||
* The :ref:`Visual Studio Generators` now suppress Visual Studio's default
|
||||
flags ``-Zc:forScope``, ``-Zc:inline``, and ``-Zc:wchar_t`` if they are
|
||||
not specified by the project or user. This makes builds more consistent
|
||||
with other generators, and with what projects and users actually specify.
|
||||
|
||||
* The :genex:`TARGET_PROPERTY` generator expression now evaluates the
|
||||
:prop_tgt:`LINK_LIBRARIES` and :prop_tgt:`INTERFACE_LINK_LIBRARIES`
|
||||
target properties transitively. See policy :policy:`CMP0189`.
|
||||
|
||||
@@ -219,3 +219,8 @@ Other Changes
|
||||
* For builds targeting the MSVC ABI, all generators now add the ``_WINDLL``
|
||||
preprocessor definition when compiling sources in shared libraries.
|
||||
See policy :policy:`CMP0203`.
|
||||
|
||||
* The :ref:`Visual Studio Generators` now suppress Visual Studio's default
|
||||
flags ``-fp:precise``, ``-Gd``, and ``-GS`` if they are not specified by
|
||||
the project or user. This makes builds more consistent with other
|
||||
generators, and with what projects and users actually specify.
|
||||
|
||||
Reference in New Issue
Block a user