From: Jonathan White Date: Fri, 29 Aug 2008 17:30:32 +0000 (-0600) Subject: Added command line option for Scons to select which version of MSVS to use. Version... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3c819926768e3879c8deaedfca964cc52ed1a7c5;p=mesa.git Added command line option for Scons to select which version of MSVS to use. Versions 7.1, 8.0 and 9.0 are allowed. Usage is scons MSVS_VERSION=8.0. --- diff --git a/SConstruct b/SConstruct index cd5b228b3b1..c1dc6246519 100644 --- a/SConstruct +++ b/SConstruct @@ -50,6 +50,8 @@ opts.Add(ListOption('drivers', 'pipe drivers to build', default_drivers, opts.Add(ListOption('winsys', 'winsys drivers to build', default_winsys, ['xlib', 'intel', 'gdi'])) +opts.Add(EnumOption('MSVS_VERSION', 'MS Visual C++ version', None, allowed_values=('7.1', '8.0', '9.0'))) + env = Environment( options = opts, tools = ['gallium'],