summaryrefslogtreecommitdiff
path: root/Source/cmGlobalVisualStudio12Generator.h
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2013-08-20 14:59:59 -0400
committerBrad King <brad.king@kitware.com>2013-08-26 10:21:16 -0400
commit3064f80d254fae7ce395bbd744133a53b11170f9 (patch)
tree9541cc6f82f9bee576d453dfd7ae2c307010b9dc /Source/cmGlobalVisualStudio12Generator.h
parentd7c9d60d9fa552a22944d9a912dd61539e012102 (diff)
downloadcmake-3064f80d254fae7ce395bbd744133a53b11170f9.tar.gz
VS: Generate ToolsVersion matching each VS version
The MSBuild version for each Visual Studio generator isn't 4.0. With Visual Studo 2013 the ToolsVersion moved from being tied to the .NET framework and now has its own version number.
Diffstat (limited to 'Source/cmGlobalVisualStudio12Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio12Generator.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio12Generator.h b/Source/cmGlobalVisualStudio12Generator.h
index 064e310d09..8c8aeb1fd6 100644
--- a/Source/cmGlobalVisualStudio12Generator.h
+++ b/Source/cmGlobalVisualStudio12Generator.h
@@ -31,6 +31,11 @@ public:
/** TODO: VS 12 user macro support. */
virtual std::string GetUserMacrosDirectory() { return ""; }
+
+ //in Visual Studio 2013 they detached the MSBuild tools version
+ //from the .Net Framework version and instead made it have it's own
+ //version number
+ virtual const char* GetToolsVersion() { return "12.0"; }
protected:
virtual const char* GetIDEVersion() { return "12.0"; }
private: