Commit 792caebc authored by José Fonseca's avatar José Fonseca

scons: Move MSVS_VERSION option to common module.

parent 2aa32036
...@@ -32,7 +32,6 @@ import common ...@@ -32,7 +32,6 @@ import common
opts = Variables('config.py') opts = Variables('config.py')
common.AddOptions(opts) common.AddOptions(opts)
opts.Add(EnumVariable('MSVS_VERSION', 'MS Visual C++ version', None, allowed_values=('7.1', '8.0', '9.0')))
env = Environment( env = Environment(
options = opts, options = opts,
......
...@@ -91,3 +91,4 @@ def AddOptions(opts): ...@@ -91,3 +91,4 @@ def AddOptions(opts):
opts.Add(BoolOption('llvm', 'use LLVM', default_llvm)) opts.Add(BoolOption('llvm', 'use LLVM', default_llvm))
opts.Add(BoolOption('debug', 'DEPRECATED: debug build', 'yes')) opts.Add(BoolOption('debug', 'DEPRECATED: debug build', 'yes'))
opts.Add(BoolOption('profile', 'DEPRECATED: profile build', 'no')) 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')))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment