https://github.com/Kitware/CMake
Revision a57caf7eecdfe61e4ac5f63b145fc9269610f3f0 authored by Brad King on 11 January 2016, 18:44:11 UTC, committed by Brad King on 11 January 2016, 18:44:11 UTC
In commit v3.4.0-rc1~5^2~1 (VS: Add support for selecting the Windows 10
SDK, 2015-09-30) we added Windows 10 SDK selection choosing the most
recent SDK that is not newer than the target version.  This is backward
because it should be up to the application code to not use APIs newer
than the target version.  It is up to the build system to provide a SDK
that has at least the APIs expected to be available for the target
version.  Furthermore, since the default target version is the host
version of Windows, the old approach breaks when the only SDK available
is for a newer version of Windows.

Fix this by always selecting a Windows 10 SDK if one exists.  Use the
SDK for the exact version if is available.  Otherwise use the latest
version of the SDK available because that will have at least the APIs
expected for the target version.
1 parent ad594de
History
Tip revision: a57caf7eecdfe61e4ac5f63b145fc9269610f3f0 authored by Brad King on 11 January 2016, 18:44:11 UTC
VS: Fix Windows 10 SDK version selection (#15831)
Tip revision: a57caf7
File Mode Size
Doxygen
Git
GitSetup
KWIML
KWStyle
Release
Sphinx
cmbzip2
cmcompress
cmcurl
cmexpat
cmjsoncpp
cmlibarchive
cmliblzma
cmzlib
.NoDartCoverage -rw-r--r-- 39 bytes
.gitattributes -rw-r--r-- 76 bytes
CMakeLists.txt -rw-r--r-- 1.4 KB
SetupForDevelopment.sh -rwxr-xr-x 392 bytes
cmThirdParty.h.in -rw-r--r-- 1007 bytes
cm_bzlib.h -rw-r--r-- 786 bytes
cm_curl.h -rw-r--r-- 797 bytes
cm_expat.h -rw-r--r-- 786 bytes
cm_jsoncpp_reader.h -rw-r--r-- 830 bytes
cm_jsoncpp_value.h -rw-r--r-- 826 bytes
cm_jsoncpp_writer.h -rw-r--r-- 830 bytes
cm_libarchive.h -rw-r--r-- 898 bytes
cm_lzma.h -rw-r--r-- 787 bytes
cm_xmlrpc.h -rw-r--r-- 778 bytes
cm_zlib.h -rw-r--r-- 779 bytes

back to top