From 792caebced5f8f6dbd7bf23aa8d94230aa786d00 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Wed, 1 Dec 2010 12:20:58 +0000 Subject: [PATCH] scons: Move MSVS_VERSION option to common module. --- SConstruct | 1 - common.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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'))) -- 2.30.2