Files
CMake/Help/policy/CMP0196.rst
Brad King 39da33ae81 CMakeDetermineVSServicePack: Add policy to remove this module
It has been documented as deprecated since CMake 3.0.
2025-05-28 09:47:06 -04:00

24 lines
812 B
ReStructuredText

CMP0196
-------
.. versionadded:: 4.1
The :module:`CMakeDetermineVSServicePack` module is removed.
The ``CMakeDetermineVSServicePack`` module has long been superseded by
the :variable:`CMAKE_<LANG>_COMPILER_VERSION` variable, and the module
has been documented as deprecated since CMake 3.0. CMake 4.1 and above
prefer to not provide the module. This policy provides compatibility
for projects that have not been ported away from it.
The ``OLD`` behavior of this policy is for
``include(CMakeDetermineVSServicePack)`` to load the deprecated module.
The ``NEW`` behavior halts with a fatal error if anything tries to include
the module.
.. |INTRODUCED_IN_CMAKE_VERSION| replace:: 4.1
.. |WARNS_OR_DOES_NOT_WARN| replace:: warns
.. include:: include/STANDARD_ADVICE.rst
.. include:: include/DEPRECATED.rst