From: José Fonseca Date: Wed, 1 Dec 2010 12:20:58 +0000 (+0000) Subject: scons: Move MSVS_VERSION option to common module. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=792caebced5f8f6dbd7bf23aa8d94230aa786d00;p=mesa.git scons: Move MSVS_VERSION option to common module. --- diff --git a/SConstruct b/SConstruct index c6198041fb0..8880d851e64 100644 --- a/SConstruct +++ b/SConstruct @@ -32,7 +32,6 @@ import common opts = Variables('config.py') common.AddOptions(opts) -opts.Add(EnumVariable('MSVS_VERSION', 'MS Visual C++ version', None, allowed_values=('7.1', '8.0', '9.0'))) env = Environment( options = opts, diff --git a/common.py b/common.py index b7749c925df..78e2d0fb24f 100644 --- a/common.py +++ b/common.py @@ -91,3 +91,4 @@ def AddOptions(opts): opts.Add(BoolOption('llvm', 'use LLVM', default_llvm)) opts.Add(BoolOption('debug', 'DEPRECATED: debug build', 'yes')) opts.Add(BoolOption('profile', 'DEPRECATED: profile build', 'no')) + opts.Add(EnumOption('MSVS_VERSION', 'MS Visual C++ version', None, allowed_values=('7.1', '8.0', '9.0')))