diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2013-08-20 18:59:59 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-08-26 14:21:16 (GMT) |
commit | 3064f80d254fae7ce395bbd744133a53b11170f9 (patch) | |
tree | 9541cc6f82f9bee576d453dfd7ae2c307010b9dc /Source/cmGlobalVisualStudio10Generator.h | |
parent | d7c9d60d9fa552a22944d9a912dd61539e012102 (diff) | |
download | CMake-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.h | 3 |
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"; } |