diff options
author | Gilles Khouzam <gillesk@microsoft.com> | 2015-09-30 20:22:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-10-02 13:53:25 (GMT) |
commit | 3f077996f58ca905125fc2387614b24c68c6f09e (patch) | |
tree | 49285eec1c99028594184c8dec34d97e678de25c /Source/cmGlobalVisualStudio14Generator.h | |
parent | 5dfc4c5f50f3198186320320cfed699872e5ece0 (diff) | |
download | CMake-3f077996f58ca905125fc2387614b24c68c6f09e.zip CMake-3f077996f58ca905125fc2387614b24c68c6f09e.tar.gz CMake-3f077996f58ca905125fc2387614b24c68c6f09e.tar.bz2 |
VS: Add support for selecting the Windows 10 SDK (#15670)
Teach the VS 2015 generator to produce a WindowsTargetPlatformVersion
value. Use the CMAKE_SYSTEM_VERSION to specify the version and if not
set choose a default based on available SDKs. Activate this behavior
when targeting Windows 10.
Co-Author: Brad King <brad.king@kitware.com>
Diffstat (limited to 'Source/cmGlobalVisualStudio14Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio14Generator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio14Generator.h b/Source/cmGlobalVisualStudio14Generator.h index 02c6274..fcade85 100644 --- a/Source/cmGlobalVisualStudio14Generator.h +++ b/Source/cmGlobalVisualStudio14Generator.h @@ -30,12 +30,16 @@ public: virtual const char* GetToolsVersion() { return "14.0"; } protected: + virtual bool InitializeWindows(cmMakefile* mf); virtual const char* GetIDEVersion() { return "14.0"; } + virtual bool SelectWindows10SDK(cmMakefile* mf); // Used to verify that the Desktop toolset for the current generator is // installed on the machine. virtual bool IsWindowsDesktopToolsetInstalled() const; + std::string GetWindows10SDKVersion(); + private: class Factory; }; |