* this should bring back BGE with scons building. Tested on scons/msvc, will test scons/gcc in a bit NOTE: this is not WITH_BF_PLAYER yet.
26 lines
681 B
Python
26 lines
681 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = ['SumoPHYCallbackBridge.cpp',
|
|
'SumoPhysicsController.cpp',
|
|
'SumoPhysicsEnvironment.cpp',
|
|
'Fuzzics/src/SM_FhObject.cpp',
|
|
'Fuzzics/src/SM_Object.cpp',
|
|
'Fuzzics/src/SM_Scene.cpp',
|
|
'Fuzzics/src/SM_MotionState.cpp'
|
|
]
|
|
|
|
incs =['.',
|
|
'../common',
|
|
'Fuzzics/include',
|
|
'#/intern/moto/include'
|
|
]
|
|
incs += [env['BF_SOLID_INC']]
|
|
|
|
cflags = []
|
|
if env['OURPLATFORM']=='win32-vc':
|
|
cflags.append('/GR')
|
|
cflags.append('/O1')
|
|
|
|
env.BlenderLib ( 'bf_sumo', sources, incs, [], libtype=['core','player'], priority=[400, 55] , compileflags=cflags)
|