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.
This commit is contained in:
@@ -7,8 +7,9 @@ sources = env.Glob('*.cpp')
|
||||
incs = '. #intern/moto/include'
|
||||
|
||||
cxxflags = []
|
||||
if env['OURPLATFORM']=='win32-vc':
|
||||
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 )
|
||||
|
||||
Reference in New Issue
Block a user