summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio15Generator.h
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.h
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.h')
-rw-r--r--Source/cmGlobalVisualStudio15Generator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio15Generator.h b/Source/cmGlobalVisualStudio15Generator.h
index cdc97ad..8ab63f1 100644
--- a/Source/cmGlobalVisualStudio15Generator.h
+++ b/Source/cmGlobalVisualStudio15Generator.h
@@ -52,6 +52,8 @@ protected:
// Check for a Win 8 SDK known to the registry or VS installer tool.
bool IsWin81SDKInstalled() const;
+ std::string GetWindows10SDKMaxVersion() const override;
+
std::string FindMSBuildCommand() override;
std::string FindDevEnvCommand() override;