summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalVisualStudio10Generator.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/cmGlobalVisualStudio10Generator.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/cmGlobalVisualStudio10Generator.h')
-rw-r--r--Source/cmGlobalVisualStudio10Generator.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmGlobalVisualStudio10Generator.h b/Source/cmGlobalVisualStudio10Generator.h
index 0a95091..31e122e 100644
--- a/Source/cmGlobalVisualStudio10Generator.h
+++ b/Source/cmGlobalVisualStudio10Generator.h
@@ -81,6 +81,9 @@ public:
void PathTooLong(cmTarget* target, cmSourceFile* sf,
std::string const& sfRel);
+
+ virtual const char* GetToolsVersion() { return "4.0"; }
+
protected:
virtual const char* GetIDEVersion() { return "10.0"; }