diff options
author | Martijn Berger <martijn.berger@gmail.com> | 2014-02-25 02:14:12 +0400 |
---|---|---|
committer | Martijn Berger <martijn.berger@gmail.com> | 2014-02-25 02:14:12 +0400 |
commit | 4903544cad4eb062db106cb13abd6b562a610b7c (patch) | |
tree | d0b1586405f160b0b8e578cdc4ae7b1720be9e77 | |
parent | 2d26d1dbbd0e91c2fd7b6dd147ab54dbd7f73111 (diff) |
On MSVC 2013 64 bit set the default to build a vista API targetted binary.
-rw-r--r-- | build_files/scons/config/win64-vc-config.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/build_files/scons/config/win64-vc-config.py b/build_files/scons/config/win64-vc-config.py index 1cadc7afea4..7d3a296ce86 100644 --- a/build_files/scons/config/win64-vc-config.py +++ b/build_files/scons/config/win64-vc-config.py @@ -247,6 +247,10 @@ CXX = 'cl.exe' CFLAGS = [] CCFLAGS = ['/nologo', '/J', '/W3', '/Gd', '/w34062', '/wd4018', '/wd4065', '/wd4127', '/wd4181', '/wd4200', '/wd4244', '/wd4267', '/wd4305', '/wd4800', '/we4013', '/we4431'] +# We want to support Vista level ABI for x64 +if VC_VERSION == '12.0': + CCFLAGS.append('/D_WIN32_WINNT=0x600') + CXXFLAGS = ['/EHsc'] BGE_CXXFLAGS = ['/O2', '/Ob2', '/EHsc', '/GR', '/fp:fast'] |