diff options
author | Brad King <brad.king@kitware.com> | 2023-04-03 14:56:47 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-04-05 16:06:22 (GMT) |
commit | b512c53d43b6078c97e06231ccbfa8599a66a4f4 (patch) | |
tree | c751b6ede80ef913c3d2091d74f6ebce35589d4b /Help | |
parent | 2f3d945f8382fef4139c7d0c3879f6ff2f3756a0 (diff) | |
download | CMake-b512c53d43b6078c97e06231ccbfa8599a66a4f4.zip CMake-b512c53d43b6078c97e06231ccbfa8599a66a4f4.tar.gz CMake-b512c53d43b6078c97e06231ccbfa8599a66a4f4.tar.bz2 |
VS: Add support for setting WindowsTargetPlatformVersion to 10.0
VS 2019 and above support this value to select a SDK version
automatically.
Fixes: #21403
Diffstat (limited to 'Help')
-rw-r--r-- | Help/variable/CMAKE_GENERATOR_PLATFORM.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_GENERATOR_PLATFORM.rst b/Help/variable/CMAKE_GENERATOR_PLATFORM.rst index 3b6932a..416ff60 100644 --- a/Help/variable/CMAKE_GENERATOR_PLATFORM.rst +++ b/Help/variable/CMAKE_GENERATOR_PLATFORM.rst @@ -56,6 +56,10 @@ Supported pairs are: The ``<version>`` may be one of: + ``10.0`` + Specify that any 10.0 SDK version may be used, and let Visual Studio + pick one. This is supported by VS 2019 and above. + ``10.0.<build>.<increment>`` Specify the exact 4-component SDK version, e.g., ``10.0.19041.0``. The specified version of the SDK must be installed. It may not exceed |