Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/extern
diff options
context:
space:
mode:
authorNathan Letwory <nathan@letworyinteractive.com>2009-07-16 23:41:28 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2009-07-16 23:41:28 +0400
commit2e854ec7cfcb0a8aa78aaf58f7f4c3e79baae0e3 (patch)
treef3ca98b664398919872220c566256e118776c28f /extern
parent730f3191302b17e665524190b23381e1bd550792 (diff)
SCons
* ensure all SConscripts are ready for win64-vc (where necessary). * ensure we have proper _DEBUG flag for Python when we're doing a debug build. * some cleaning up of linking etc. * ensure /EHsc is there for game engine modules.
Diffstat (limited to 'extern')
-rw-r--r--extern/bullet2/src/SConscript2
-rw-r--r--extern/libopenjpeg/SConscript4
2 files changed, 3 insertions, 3 deletions
diff --git a/extern/bullet2/src/SConscript b/extern/bullet2/src/SConscript
index bd7fb87b01f..319cc57ce55 100644
--- a/extern/bullet2/src/SConscript
+++ b/extern/bullet2/src/SConscript
@@ -10,7 +10,7 @@ cflags = []
if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
defs += ' WIN32 NDEBUG _WINDOWS _LIB'
#cflags += ['/MT', '/W3', '/GX', '/O2', '/Op']
- cflags += ['/MT', '/W3', '/GX', '/Og', '/Ot', '/Ob1', '/Op', '/G6', '/O3']
+ cflags += ['/MT', '/W3', '/GX', '/Og', '/Ot', '/Ob1', '/Op', '/G6', '/O3', '/EHcs']
elif env['OURPLATFORM']=='win32-mingw':
defs += ' NDEBUG'
cflags += ['-O2']
diff --git a/extern/libopenjpeg/SConscript b/extern/libopenjpeg/SConscript
index 13a34bf5598..693fee15c91 100644
--- a/extern/libopenjpeg/SConscript
+++ b/extern/libopenjpeg/SConscript
@@ -10,14 +10,14 @@ incs = '.'
flags = []
defs = []
-if env['OURPLATFORM'] == 'win32-vc':
+if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
flags = []
defs.append('OPJ_STATIC')
else:
flags = ['-Wall', '-O3', '-ffast-math', '-std=c99']
oj_env = env.Clone()
-if not env['OURPLATFORM'] == 'win32-vc':
+if not env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
oj_env.Replace(CCFLAGS = '')
oj_env.Replace(BF_DEBUG_FLAGS = '')