Open TingPing opened 6 years ago
This would probably be a per-project setting rather than a per-target one?
Yes.
It is also something that I'd say is up for the builder/distributor to set not the project necessarily (maybe it could require newer than specific versions?).
It is required for any sort of sanity when multiple Sdks are installed (for example when using AppVeyor CI).
You can pass
/p:WindowsTargetPlatformVersion
tomsbuild
or defineWindowsTargetPlatformVersion
in the project files.CMake supports this: https://cmake.org/cmake/help/latest/variable/CMAKE_VS_WINDOWS_TARGET_PLATFORM_VERSION.html