forked from bartvdbraak/blender
2e854ec7cf
* 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.
19 lines
423 B
Python
19 lines
423 B
Python
#!/usr/bin/python
|
|
import sys
|
|
import os
|
|
Import('env')
|
|
|
|
sources = env.Glob('intern/*.cpp')
|
|
|
|
defs = 'NOGUI ELBEEM_BLENDER=1'
|
|
|
|
if env['WITH_BF_OPENMP']:
|
|
defs += ' PARALLEL'
|
|
|
|
if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
|
|
defs += ' USE_MSVC6FIXES'
|
|
incs = env['BF_PNG_INC'] + ' ' + env['BF_ZLIB_INC']
|
|
incs += ' extern '
|
|
|
|
env.BlenderLib ('bf_elbeem', sources, Split(incs), Split(defs), libtype='intern', priority=0 )
|