From b512c53d43b6078c97e06231ccbfa8599a66a4f4 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 3 Apr 2023 10:56:47 -0400 Subject: VS: Add support for setting WindowsTargetPlatformVersion to 10.0 VS 2019 and above support this value to select a SDK version automatically. Fixes: #21403 --- Help/variable/CMAKE_GENERATOR_PLATFORM.rst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Help') diff --git a/Help/variable/CMAKE_GENERATOR_PLATFORM.rst b/Help/variable/CMAKE_GENERATOR_PLATFORM.rst index 3b6932a559..416ff60f34 100644 --- a/Help/variable/CMAKE_GENERATOR_PLATFORM.rst +++ b/Help/variable/CMAKE_GENERATOR_PLATFORM.rst @@ -56,6 +56,10 @@ Supported pairs are: The ```` 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..`` 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 -- cgit v1.2.1