diff options
author | halx99 <halx99@live.com> | 2023-03-15 03:17:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-03-15 14:03:16 (GMT) |
commit | 6546305b010c372fdf7f7000e6139f5cb1b61354 (patch) | |
tree | 166b9beb9f6b30e1a61703eaf525b483eecacb46 /Help/variable | |
parent | 9fe6771b80c4ef5c16ea4180eae4cd698564898a (diff) | |
download | CMake-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.rst | 12 |
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. |