projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d33658
)
scons: Prefer MSVS 2003 (patch by Mark Mueller).
author
José Fonseca
<jrfonseca@tungstengraphics.com>
Tue, 26 Feb 2008 14:59:53 +0000
(23:59 +0900)
committer
José Fonseca
<jrfonseca@tungstengraphics.com>
Tue, 26 Feb 2008 14:59:53 +0000
(23:59 +0900)
SConstruct
patch
|
blob
|
history
diff --git
a/SConstruct
b/SConstruct
index 393936b4c898e090396413434125ac70ac15d356..fbf5aa0e4eb7ecffd441fc12c5f3d283f1d81568 100644
(file)
--- a/
SConstruct
+++ b/
SConstruct
@@
-146,6
+146,13
@@
if gcc:
env.Append(CXXFLAGS = '-fmessage-length=0')
if msvc:
+ # Force msvc 7.1 (visual studio 2003) for windows builds.
+ # Eventually a way to override this would be nice.
+ # See also http://www.scons.org/wiki/MsvsMultipleVersions
+ env["MSVS"] = {"VERSION": "7.1"}
+ env["MSVS_VERSION"] = "7.1"
+ Tool("msvc")(env)
+
env.Append(CFLAGS = '/W3')
if debug:
cflags = [