summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio15Generator.cxx
diff options
context:
space:
mode:
authorGilles Khouzam <gillesk@microsoft.com>2017-08-07 17:38:50 (GMT)
committerBrad King <brad.king@kitware.com>2018-09-17 17:07:40 (GMT)
commit83ddc4d2891a0bbb06fb1e3daa00245b3c23eddc (patch)
tree2207fa68f6aef0da1996d61e8acb2f960b0e373a /Source/cmGlobalVisualStudio15Generator.cxx
parentf0c84346ed25f6b8ce3a9f79aece87a58c8a4748 (diff)
downloadCMake-83ddc4d2891a0bbb06fb1e3daa00245b3c23eddc.zip
CMake-83ddc4d2891a0bbb06fb1e3daa00245b3c23eddc.tar.gz
CMake-83ddc4d2891a0bbb06fb1e3daa00245b3c23eddc.tar.bz2
VS: Do not select a Windows SDK too high for current VS version
Add an internal API for the maximum Windows 10 SDK version supported by a toolset. For Visual Studio 14 2015 that would be the version "10.0.14393.0". Fixes: #17788
Diffstat (limited to 'Source/cmGlobalVisualStudio15Generator.cxx')
-rw-r--r--Source/cmGlobalVisualStudio15Generator.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio15Generator.cxx b/Source/cmGlobalVisualStudio15Generator.cxx
index 9983a43..23fd2d5 100644
--- a/Source/cmGlobalVisualStudio15Generator.cxx
+++ b/Source/cmGlobalVisualStudio15Generator.cxx
@@ -258,6 +258,11 @@ bool cmGlobalVisualStudio15Generator::IsWin81SDKInstalled() const
return false;
}
+std::string cmGlobalVisualStudio15Generator::GetWindows10SDKMaxVersion() const
+{
+ return std::string();
+}
+
std::string cmGlobalVisualStudio15Generator::FindMSBuildCommand()
{
std::string msbuild;