diff options
author | William Deegan <bill@baddogconsulting.com> | 2016-08-12 14:20:55 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2016-08-12 14:20:55 (GMT) |
commit | 6a1b06d97163ad7ec280c2a028fac33258677123 (patch) | |
tree | 9f1b75f6b1e2409e7e8d1308ec747e0a6f6d7ec3 /src/engine/SCons | |
parent | 8bb44b6de01a456e4027f58af0bb7890b78142cb (diff) | |
parent | f6ec68e2eb534bf8fff6f470b7e8facdde045b63 (diff) | |
download | SCons-6a1b06d97163ad7ec280c2a028fac33258677123.zip SCons-6a1b06d97163ad7ec280c2a028fac33258677123.tar.gz SCons-6a1b06d97163ad7ec280c2a028fac33258677123.tar.bz2 |
updated from upstream
Diffstat (limited to 'src/engine/SCons')
-rw-r--r-- | src/engine/SCons/Tool/msvs.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/msvs.py b/src/engine/SCons/Tool/msvs.py index 6df4928..6e91909 100644 --- a/src/engine/SCons/Tool/msvs.py +++ b/src/engine/SCons/Tool/msvs.py @@ -1844,7 +1844,10 @@ def projectEmitter(target, source, env): targetlist = targetlist + t # Beginning with Visual Studio 2010 for each project file (.vcxproj) we have additional file (.vcxproj.filters) - if float(env['MSVS_VERSION']) >= 10.0: + version_num = 6.0 + if 'MSVS_VERSION' in env: + version_num, suite = msvs_parse_version(env['MSVS_VERSION']) + if version_num >= 10.0: targetlist.append(targetlist[0] + '.filters') return (targetlist, sourcelist) |