Since upgrade to SCons 2.3.0 a small change is needed to ensure 32bit is targeted properly when

building 32bit Blender with 64bit compiler installed as well (MSVC).
This commit is contained in:
Nathan Letwory
2013-06-16 20:34:29 +00:00
parent 8e5cd99e0b
commit f351bcca17

View File

@@ -148,9 +148,9 @@ if toolset:
btools.SetupSpawn(env)
else:
if bitness==64 and platform=='win32':
env = BlenderEnvironment(ENV = os.environ, MSVS_ARCH='amd64')
env = BlenderEnvironment(ENV = os.environ, MSVS_ARCH='amd64', TARGET_ARCH='x86_64')
else:
env = BlenderEnvironment(ENV = os.environ)
env = BlenderEnvironment(ENV = os.environ, TARGET_ARCH='x86')
if not env:
print "Could not create a build environment"