Skip to content

VS: Add CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION variable

Deal requested to merge halx99/cmake:master into master

Provide a way to initialize the VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION target property on targets. It sets WindowsTargetPlatformMinVersion in .vcxproj files.

This feature allow control windows target platform min version with CMAKE_VS_WINDOWS_TARGET_PLATFORM_MIN_VERSION globally, it's useful for build UWP apps and publish on different windows 10/11 releases. there is a related discuss: https://github.com/axmolengine/axmol/discussions/1110

Topic-rename: vs-windows-min-version

Edited by Brad King

Merge request reports