diff options
author | Gilles Khouzam <gillesk@microsoft.com> | 2014-11-13 19:47:01 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-11-14 14:13:27 (GMT) |
commit | b20a32ac7349d38b215ef065773968c63c813f70 (patch) | |
tree | 7c7a0f4a22dc30c832c0d841e65c22f5822777d1 /Source/cmGlobalVisualStudio10Generator.h | |
parent | 54ff77dc621a91302abad0ab38d9bd26de8914b9 (diff) | |
download | CMake-b20a32ac7349d38b215ef065773968c63c813f70.zip CMake-b20a32ac7349d38b215ef065773968c63c813f70.tar.gz CMake-b20a32ac7349d38b215ef065773968c63c813f70.tar.bz2 |
VS: Improve error messages when compiler is not detected (#15228)
CMake requires both the Desktop SDK and the correct platform SDK
(Windows Phone or Windows Store) to be installed when targeting the
Windows mobile platforms. Verify that the right platform components are
installed and give a more detailed error message when something is
wrong.
Diffstat (limited to 'Source/cmGlobalVisualStudio10Generator.h')
-rw-r--r-- | Source/cmGlobalVisualStudio10Generator.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h index 3af7b51..9ed3c2d 100644 --- a/Source/cmGlobalVisualStudio10Generator.h +++ b/Source/cmGlobalVisualStudio10Generator.h @@ -118,9 +118,10 @@ protected: virtual bool InitializeWindowsCE(cmMakefile* mf); virtual bool InitializeWindowsPhone(cmMakefile* mf); virtual bool InitializeWindowsStore(cmMakefile* mf); + virtual std::string SelectWindowsCEToolset() const; - virtual std::string SelectWindowsPhoneToolset() const { return ""; } - virtual std::string SelectWindowsStoreToolset() const { return ""; } + virtual bool SelectWindowsPhoneToolset(std::string& toolset) const; + virtual bool SelectWindowsStoreToolset(std::string& toolset) const; virtual const char* GetIDEVersion() { return "10.0"; } |