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.
16 lines
377 B
Python
16 lines
377 B
Python
#!/usr/bin/python
|
|
|
|
Import ('env')
|
|
|
|
sources = env.Glob('*.cpp')
|
|
|
|
incs = '. #intern/moto/include'
|
|
|
|
cxxflags = []
|
|
if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'):
|
|
cxxflags.append ('/GR')
|
|
cxxflags.append ('/O2')
|
|
cxxflags.append ('/EHsc')
|
|
|
|
env.BlenderLib ( 'bf_scenegraph', sources, Split(incs), [], libtype=['core','player'], priority=[325,125], cxx_compileflags = cxxflags )
|