From 7117e246020ebbddf1dffca6fc5be72b3a5e1d1f Mon Sep 17 00:00:00 2001 From: cournape Date: Thu, 19 Nov 2009 05:04:55 +0000 Subject: [PATCH] ENH: set up MSVS_VERSION and MSVS dict while setting up msvc as well. git-svn-id: http://scons.tigris.org/svn/scons/trunk@4453 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/Tool/MSCommon/vc.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/engine/SCons/Tool/MSCommon/vc.py b/src/engine/SCons/Tool/MSCommon/vc.py index ee4ebe64..a6c5aaf6 100644 --- a/src/engine/SCons/Tool/MSCommon/vc.py +++ b/src/engine/SCons/Tool/MSCommon/vc.py @@ -222,7 +222,12 @@ def msvc_setup_env(env): version = get_default_version(env) host_platform, target_platform = get_host_target(env) debug('msvc_setup_env: using specified MSVC version %s\n' % repr(version)) + + # XXX: we set-up both MSVS version for backward + # compatibility with the msvs tool env['MSVC_VERSION'] = version + env['MSVS_VERSION'] = version + env['MSVS'] = {} script = find_batch_file(version) if not script: -- 2.26.2