diff options
author | José Fonseca <[email protected]> | 2008-02-26 23:59:53 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-02-26 23:59:53 +0900 |
commit | 19f6e1a975a098cf4ce935b50f7cf0c64d9db042 (patch) | |
tree | 034e9fea6b8508288fc48cf413c2c764503580e7 | |
parent | 6d336588edb8318f49a0f611760e7ff8b6861de7 (diff) |
scons: Prefer MSVS 2003 (patch by Mark Mueller).
-rw-r--r-- | SConstruct | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 393936b4c89..fbf5aa0e4eb 100644 --- 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 = [ |