summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio12Generator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-07-28 16:15:43 -0400
committerBrad King <brad.king@kitware.com>2014-07-31 14:08:46 -0400
commitd7938bff37bfa05f34b9ad5a46ae3aff54955eea (patch)
tree51259231e7382d59da58a9598d19ae705c1fc388 /Source/cmGlobalVisualStudio12Generator.h
parent3abd150ce9df03e24a903dedc952339b58ba79cb (diff)
downloadcmake-d7938bff37bfa05f34b9ad5a46ae3aff54955eea.tar.gz
VS: Select WindowsPhone and WindowsStore default toolsets
Teach the VS >= 10 generators to recognize these system names and select the appropriate default toolset for the system version. Report an error when the version is not known to be supported by VS. Inspired-by: Gilles Khouzam <gillesk@microsoft.com>
Diffstat (limited to 'Source/cmGlobalVisualStudio12Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio12Generator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio12Generator.h b/Source/cmGlobalVisualStudio12Generator.h
index 8ac2d1d207..ec85f1011f 100644
--- a/Source/cmGlobalVisualStudio12Generator.h
+++ b/Source/cmGlobalVisualStudio12Generator.h
@@ -39,6 +39,10 @@ public:
//version number
virtual const char* GetToolsVersion() { return "12.0"; }
protected:
+ virtual bool InitializeWindowsPhone(cmMakefile* mf);
+ virtual bool InitializeWindowsStore(cmMakefile* mf);
+ virtual std::string SelectWindowsPhoneToolset() const;
+ virtual std::string SelectWindowsStoreToolset() const;
virtual const char* GetIDEVersion() { return "12.0"; }
private:
class Factory;