scons: Prefer MSVS 2003 (patch by Mark Mueller).
This commit is contained in:
@@ -146,6 +146,13 @@ if gcc:
|
|||||||
env.Append(CXXFLAGS = '-fmessage-length=0')
|
env.Append(CXXFLAGS = '-fmessage-length=0')
|
||||||
|
|
||||||
if msvc:
|
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')
|
env.Append(CFLAGS = '/W3')
|
||||||
if debug:
|
if debug:
|
||||||
cflags = [
|
cflags = [
|
||||||
|
Reference in New Issue
Block a user