summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-08-08 18:20:43 (GMT)
committerBrad King <brad.king@kitware.com>2023-08-10 13:57:00 (GMT)
commitae97d82e830c6ddc81808e3f44dad8a47a30bcae (patch)
tree6eb5216786d3167c8ad111d3f0a71cd4b104716b /Help/variable
parent15ff89654b925b74f074ef7e13ed905c3ec38c4b (diff)
downloadCMake-ae97d82e830c6ddc81808e3f44dad8a47a30bcae.zip
CMake-ae97d82e830c6ddc81808e3f44dad8a47a30bcae.tar.gz
CMake-ae97d82e830c6ddc81808e3f44dad8a47a30bcae.tar.bz2
VS: Teach CMAKE_GENERATOR_PLATFORM to support Windows 8.1 SDK selection
Honor an explicit `version=8.1` field value regardless of the Windows target version. Issue: #25170
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_GENERATOR_PLATFORM.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_GENERATOR_PLATFORM.rst b/Help/variable/CMAKE_GENERATOR_PLATFORM.rst
index 7fbf6ba..22bf655 100644
--- a/Help/variable/CMAKE_GENERATOR_PLATFORM.rst
+++ b/Help/variable/CMAKE_GENERATOR_PLATFORM.rst
@@ -66,6 +66,10 @@ Supported pairs are:
the value of :variable:`CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION_MAXIMUM`,
if that variable is set.
+ ``8.1``
+ Specify the 8.1 SDK version. This is always supported by VS 2015.
+ On VS 2017 and above the 8.1 SDK must be installed.
+
If the ``version`` field is not specified, CMake selects a version as
described in the :variable:`CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION`
variable documentation.