summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio12Generator.h
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2013-08-20 18:59:59 (GMT)
committerBrad King <brad.king@kitware.com>2013-08-26 14:21:16 (GMT)
commit3064f80d254fae7ce395bbd744133a53b11170f9 (patch)
tree9541cc6f82f9bee576d453dfd7ae2c307010b9dc /Source/cmGlobalVisualStudio12Generator.h
parentd7c9d60d9fa552a22944d9a912dd61539e012102 (diff)
downloadCMake-3064f80d254fae7ce395bbd744133a53b11170f9.zip
CMake-3064f80d254fae7ce395bbd744133a53b11170f9.tar.gz
CMake-3064f80d254fae7ce395bbd744133a53b11170f9.tar.bz2
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 064e310..8c8aeb1 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: