summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio12Generator.h
diff options
context:
space:
mode:
authorGilles Khouzam <gillesk@microsoft.com>2015-09-01 13:52:36 -0700
committerBrad King <brad.king@kitware.com>2015-09-02 10:11:36 -0400
commit4b8b91688f2b2fd18a2bda182dd8a1c7a201ff3d (patch)
treefe48b7638e352daf2edcc05eabfc348a2e15d89b /Source/cmGlobalVisualStudio12Generator.h
parent72c11e590273d100c49f472afc3a7569b233ff00 (diff)
downloadcmake-4b8b91688f2b2fd18a2bda182dd8a1c7a201ff3d.tar.gz
VS: Find Desktop SDK for current VS version (#15662)
Determine the Desktop SDK for Windows Phone and Windows Store from the generator instead of the version of the targeted app. This allows to build a Windows Phone 8.1 app on VS 2015 for example.
Diffstat (limited to 'Source/cmGlobalVisualStudio12Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio12Generator.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmGlobalVisualStudio12Generator.h b/Source/cmGlobalVisualStudio12Generator.h
index bce9e0cdf9..a7939aab67 100644
--- a/Source/cmGlobalVisualStudio12Generator.h
+++ b/Source/cmGlobalVisualStudio12Generator.h
@@ -38,9 +38,12 @@ protected:
virtual bool SelectWindowsPhoneToolset(std::string& toolset) const;
virtual bool SelectWindowsStoreToolset(std::string& toolset) const;
+ // Used to verify that the Desktop toolset for the current generator is
+ // installed on the machine.
+ virtual bool IsWindowsDesktopToolsetInstalled() const;
+
// These aren't virtual because we need to check if the selected version
// of the toolset is installed
- bool IsWindowsDesktopToolsetInstalled() const;
bool IsWindowsPhoneToolsetInstalled() const;
bool IsWindowsStoreToolsetInstalled() const;
virtual const char* GetIDEVersion() { return "12.0"; }