* 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
547 B
Python
19 lines
547 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = env.Glob('*.c')
|
|
|
|
incs = '../include ../../blenlib ../../blenkernel ../../makesdna ../../makesrna ../../imbuf'
|
|
incs += ' ../../nodes ../../render/extern/include'
|
|
incs += ' ../../windowmanager #intern/guardedalloc #extern/glew/include'
|
|
defs = []
|
|
cf = []
|
|
if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
|
|
#cf.append('/WX')
|
|
pass
|
|
if env['CC'] == 'gcc':
|
|
#cf.append('-Werror')
|
|
pass
|
|
|
|
env.BlenderLib ( 'bf_editors_space_node', sources, Split(incs), defs, libtype=['core'], priority=[55], compileflags=cf )
|