projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2aa3203
)
scons: Move MSVS_VERSION option to common module.
author
José Fonseca
<jfonseca@vmware.com>
Wed, 1 Dec 2010 12:20:58 +0000
(12:20 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Wed, 1 Dec 2010 12:23:12 +0000
(12:23 +0000)
SConstruct
patch
|
blob
|
history
common.py
patch
|
blob
|
history
diff --git
a/SConstruct
b/SConstruct
index c6198041fb0cff49b695423ac5eaece4fe2217ab..8880d851e645541e95ca3990ddb55646993016d4 100644
(file)
--- 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 b7749c925dfc3db0d7734cdd0462edc5016e15bd..78e2d0fb24f112ffd0a76dcbe301026917077193 100644
(file)
--- 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')))