From 3c819926768e3879c8deaedfca964cc52ed1a7c5 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Fri, 29 Aug 2008 11:30:32 -0600 Subject: [PATCH] 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. --- SConstruct | 2 ++ 1 file changed, 2 insertions(+) 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'], -- 2.30.2