summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan White <[email protected]>2008-08-29 11:30:32 -0600
committerJonathan White <[email protected]>2008-08-29 11:30:32 -0600
commit3c819926768e3879c8deaedfca964cc52ed1a7c5 (patch)
tree57fdbf0e46df9b78107c55586a1bd0a8997770cf
parent380385ab7d0c1964464b40aeea237671189d19cb (diff)
Added command line option for Scons to select which version of MSVS to use. Versions 7.1, 8.0 and 9.0 are allowed. Usage is scons MSVS_VERSION=8.0.
-rw-r--r--SConstruct2
1 files changed, 2 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index cd5b228b3b1..c1dc6246519 100644
--- a/SConstruct
+++ b/SConstruct
@@ -50,6 +50,8 @@ opts.Add(ListOption('drivers', 'pipe drivers to build', default_drivers,
opts.Add(ListOption('winsys', 'winsys drivers to build', default_winsys,
['xlib', 'intel', 'gdi']))
+opts.Add(EnumOption('MSVS_VERSION', 'MS Visual C++ version', None, allowed_values=('7.1', '8.0', '9.0')))
+
env = Environment(
options = opts,
tools = ['gallium'],