[Bf-blender-cvs] [4903544] master: On MSVC 2013 64 bit set the default to build a vista API targetted binary.

Martijn Berger noreply at git.blender.org
Mon Feb 24 23:17:37 CET 2014


Commit: 4903544cad4eb062db106cb13abd6b562a610b7c
Author: Martijn Berger
Date:   Mon Feb 24 23:14:12 2014 +0100
https://developer.blender.org/rB4903544cad4eb062db106cb13abd6b562a610b7c

On MSVC 2013 64 bit set the default to build a vista API targetted binary.

===================================================================

M	build_files/scons/config/win64-vc-config.py

===================================================================

diff --git a/build_files/scons/config/win64-vc-config.py b/build_files/scons/config/win64-vc-config.py
index 1cadc7a..7d3a296 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']




More information about the Bf-blender-cvs mailing list