diff options
author | David Cournapeau <cournape@gmail.com> | 2009-11-19 05:04:55 (GMT) |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-11-19 05:04:55 (GMT) |
commit | 8e7ce03a7ee26528433b2125b1f44975a5731eef (patch) | |
tree | 286e7fecc499a3e7e566ff9720ff5cc61c61dfd7 /src | |
parent | 6e73eb5a3bf57b248cca1cde9c4aa648760eb929 (diff) | |
download | SCons-8e7ce03a7ee26528433b2125b1f44975a5731eef.zip SCons-8e7ce03a7ee26528433b2125b1f44975a5731eef.tar.gz SCons-8e7ce03a7ee26528433b2125b1f44975a5731eef.tar.bz2 |
ENH: set up MSVS_VERSION and MSVS dict while setting up msvc as well.
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/SCons/Tool/MSCommon/vc.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/engine/SCons/Tool/MSCommon/vc.py b/src/engine/SCons/Tool/MSCommon/vc.py index ee4ebe6..a6c5aaf 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: |