Module: Mesa Branch: gallium-0.2 Commit: de29f5781ad9f3630b28f341bb41622a090cd8dc URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=de29f5781ad9f3630b28f341bb41622a090cd8dc
Author: José Fonseca <[email protected]> Date: Fri Jan 23 16:25:37 2009 +0000 scons: Allow to specify the MSVS version on command line. --- scons/generic.py | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/scons/generic.py b/scons/generic.py index 0ed21a4..7ded920 100644 --- a/scons/generic.py +++ b/scons/generic.py @@ -239,6 +239,11 @@ def generate(env): if env['toolchain'] == 'crossmingw' and env['machine'] not in ('generic', 'x86'): env['machine'] = 'x86' + try: + env['MSVS_VERSION'] = ARGUMENTS['MSVS_VERSION'] + except KeyError: + pass + # Build type env['debug'] = _bool_map[ARGUMENTS.get('debug', 'no')] env['profile'] = _bool_map[ARGUMENTS.get('profile', 'no')] _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
