projects
/
profile
/
ivi
/
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
c619804
..
8880d85
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
b7749c9
..
78e2d0f
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')))