summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRob Smith <robs@microsoft.com>2015-07-20 22:12:33 (GMT)
committerRob Smith <robs@microsoft.com>2015-07-20 22:12:33 (GMT)
commit5ffbfecaf01bceed3263b2cd5829e4a5b8424ac6 (patch)
tree662b20cb07120a361b2ac886163bf7d06e9dfb59 /src
parenta4c8f18b9199cbffd7040ec64dcfd6a95eb20d53 (diff)
downloadSCons-5ffbfecaf01bceed3263b2cd5829e4a5b8424ac6.zip
SCons-5ffbfecaf01bceed3263b2cd5829e4a5b8424ac6.tar.gz
SCons-5ffbfecaf01bceed3263b2cd5829e4a5b8424ac6.tar.bz2
Add VS14 support to the solution generation code and fix the solution version number (12.0)
Diffstat (limited to 'src')
-rw-r--r--src/engine/SCons/Tool/msvs.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/msvs.py b/src/engine/SCons/Tool/msvs.py
index d00413d..8b74cf4 100644
--- a/src/engine/SCons/Tool/msvs.py
+++ b/src/engine/SCons/Tool/msvs.py
@@ -1535,7 +1535,9 @@ class _GenerateV7DSW(_DSWGenerator):
def PrintSolution(self):
"""Writes a solution file"""
self.file.write('Microsoft Visual Studio Solution File, Format Version %s\n' % self.versionstr)
- if self.version_num >= 11.0:
+ if self.version_num >= 12.0:
+ self.file.write('# Visual Studio 14\n')
+ elif self.version_num >= 11.0:
self.file.write('# Visual Studio 11\n')
elif self.version_num >= 10.0:
self.file.write('# Visual Studio 2010\n')