Added command line option for Scons to select which version of MSVS to use. Version...
authorJonathan White <jwhite@tungstengraphics.com>
Fri, 29 Aug 2008 17:30:32 +0000 (11:30 -0600)
committerJonathan White <jwhite@tungstengraphics.com>
Fri, 29 Aug 2008 17:30:32 +0000 (11:30 -0600)
SConstruct

index cd5b228b3b11eee539a9f2c7f8c64c0a567a11b0..c1dc62465191eb1794a076e3f4d0c756f2ad66e5 100644 (file)
@@ -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'],