summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorhalx99 <halx99@live.com>2023-03-15 03:17:21 (GMT)
committerBrad King <brad.king@kitware.com>2023-03-15 14:03:16 (GMT)
commit6546305b010c372fdf7f7000e6139f5cb1b61354 (patch)
tree166b9beb9f6b30e1a61703eaf525b483eecacb46 /Help/variable
parent9fe6771b80c4ef5c16ea4180eae4cd698564898a (diff)
downloadCMake-6546305b010c372fdf7f7000e6139f5cb1b61354.zip
CMake-6546305b010c372fdf7f7000e6139f5cb1b61354.tar.gz
CMake-6546305b010c372fdf7f7000e6139f5cb1b61354.tar.bz2
VS: Add CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION variable
Provide a way to initialize the `VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION` target property on targets. It sets `WindowsTargetPlatformMinVersion` in `.vcxproj` files.
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION.rst b/Help/variable/CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION.rst
new file mode 100644
index 0000000..8ef54cd
--- /dev/null
+++ b/Help/variable/CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION.rst
@@ -0,0 +1,12 @@
+CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION
+--------------------------------------------
+
+.. versionadded:: 3.27
+
+Tell :ref:`Visual Studio Generators` to use the given
+Windows Target Platform Minimum Version.
+
+This variable is used to initialize the
+:prop_tgt:`VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION` property on all
+targets when they are created. See that target property for
+additional information.