forked from bartvdbraak/blender
4e2143f639
Patch provied by gsrb3d bug tracker #7061 Kent
27 lines
706 B
Python
27 lines
706 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sumoenv = env.Copy()
|
|
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 += [sumoenv['BF_SOLID_INC']]
|
|
|
|
cflags = []
|
|
if env['OURPLATFORM']=='win32-vc':
|
|
cflags.append('/GR')
|
|
cflags.append('/O1')
|
|
|
|
env.BlenderLib ( 'bf_sumo', sources, incs, [], libtype=['game2','player'], priority=[30, 70] , compileflags=cflags)
|