summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-12-01 12:20:58 +0000
committerJosé Fonseca <jfonseca@vmware.com>2010-12-01 12:23:12 +0000
commit792caebced5f8f6dbd7bf23aa8d94230aa786d00 (patch)
treeea8fb197d7c9efd5fff4d3161ff81b521e50e19f
parent2aa32036609b986e5db2fb9e0549419ce1ff1e7c (diff)
scons: Move MSVS_VERSION option to common module.
-rw-r--r--SConstruct1
-rw-r--r--common.py1
2 files changed, 1 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index c6198041fb..8880d851e6 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 b7749c925d..78e2d0fb24 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')))