2004-05-16 13:07:20 +00:00
|
|
|
#!/usr/bin/python
|
2006-02-04 14:15:10 +00:00
|
|
|
Import ('env')
|
2004-02-29 21:40:48 +00:00
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
sumoenv = env.Copy()
|
|
|
|
sources = ['SumoPHYCallbackBridge.cpp',
|
2005-03-26 13:41:15 +00:00
|
|
|
'SumoPhysicsController.cpp',
|
2004-01-20 20:28:39 +00:00
|
|
|
'SumoPhysicsEnvironment.cpp',
|
|
|
|
'Fuzzics/src/SM_FhObject.cpp',
|
|
|
|
'Fuzzics/src/SM_Object.cpp',
|
2004-11-22 10:19:19 +00:00
|
|
|
'Fuzzics/src/SM_Scene.cpp',
|
2005-03-26 13:41:15 +00:00
|
|
|
'Fuzzics/src/SM_MotionState.cpp'
|
|
|
|
]
|
2004-01-20 20:28:39 +00:00
|
|
|
|
2006-02-04 14:15:10 +00:00
|
|
|
incs =['.',
|
|
|
|
'../common',
|
|
|
|
'Fuzzics/include',
|
|
|
|
'#/intern/moto/include'
|
|
|
|
]
|
|
|
|
incs += [sumoenv['BF_SOLID_INC']]
|
2004-03-22 22:02:18 +00:00
|
|
|
|
2006-02-07 21:24:36 +00:00
|
|
|
cflags = []
|
|
|
|
if env['OURPLATFORM']=='win32-vc':
|
|
|
|
cflags.append('/GR')
|
|
|
|
cflags.append('/O1')
|
2004-02-29 21:40:48 +00:00
|
|
|
|
2006-02-07 21:24:36 +00:00
|
|
|
env.BlenderLib ( 'bf_sumo', sources, incs, [], libtype=['game2','player'], priority=[30, 70] , compileflags=cflags)
|