diff options
author | David Cournapeau <cournape@gmail.com> | 2009-11-19 04:54:08 (GMT) |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-11-19 04:54:08 (GMT) |
commit | 9964f90692e7991b5f6aafa4cae4d3a80c0fe6a4 (patch) | |
tree | 91a42b91a2b53b0387746756b54ebd30208fb8b9 | |
parent | 42eb0219eb80dbf0633fa86ae1a12cce1940ce09 (diff) | |
download | SCons-9964f90692e7991b5f6aafa4cae4d3a80c0fe6a4.zip SCons-9964f90692e7991b5f6aafa4cae4d3a80c0fe6a4.tar.gz SCons-9964f90692e7991b5f6aafa4cae4d3a80c0fe6a4.tar.bz2 |
ENH: move user info gathering at the top of msvc_setup_env.
-rw-r--r-- | src/engine/SCons/Tool/MSCommon/vc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine/SCons/Tool/MSCommon/vc.py b/src/engine/SCons/Tool/MSCommon/vc.py index 4facb53..815eba7 100644 --- a/src/engine/SCons/Tool/MSCommon/vc.py +++ b/src/engine/SCons/Tool/MSCommon/vc.py @@ -318,17 +318,17 @@ def msvc_setup_env(env): debug('msvc_setup_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)) env['MSVC_VERSION'] = version msvc = InstalledVCMap.get(version) - debug('msvc_setup_env: using specified MSVC version %s\n' % repr(version)) if not msvc: msg = 'VC version %s not installed' % version debug('msv %s\n' % repr(msg)) SCons.Warnings.warn(SCons.Warnings.VisualCMissingWarning, msg) return None - host_platform, target_platform = get_host_target(env) use_script = env.get('MSVC_USE_SCRIPT', True) if SCons.Util.is_String(use_script): debug('use_script 1 %s\n' % repr(use_script)) |