summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION.rst
blob: 639284963bf90e84bfcaa00c2e86683e18f869c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION
----------------------------------------

Visual Studio Windows Target Platform Version.

When targeting Windows 10 and above Visual Studio 2015 and above support
specification of a target Windows version to select a corresponding SDK.
The :variable:`CMAKE_SYSTEM_VERSION` variable may be set to specify a
version.  Otherwise CMake computes a default version based on the Windows
SDK versions available.  The chosen Windows target version number is provided
in ``CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION``.