mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 06:30:10 +01:00
scons: Allow to specify the MSVS version on command line.
This commit is contained in:
parent
528a0a885e
commit
de29f5781a
1 changed files with 5 additions and 0 deletions
|
|
@ -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')]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue