Imported Upstream version 3.19.4
[platform/upstream/cmake.git] / Help / variable / CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM.rst
1 CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM
2 ------------------------------------------------
3
4 .. versionadded:: 3.19
5
6 Override the :ref:`Windows 10 SDK Maximum Version for VS 2015` and beyond.
7
8 The :variable:`CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM` variable may
9 be set to a false value (e.g. ``OFF``, ``FALSE``, or ``0``) or the SDK version
10 to use as the maximum (e.g. ``10.0.14393.0``).  If unset, the default depends
11 on which version of Visual Studio is targeted by the current generator.
12
13 This can be used in conjunction with :variable:`CMAKE_SYSTEM_VERSION`, which
14 CMake uses to select :variable:`CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION`.