blender/source/gameengine/Physics/Sumo/SConscript
Nathan Letwory ef1b7a5735 ==SCons==
+ 'scons blenderplayer' builds blender AND blenderplayer now (tested on Linux
  only, but was only linking issue, so should work on other platforms too).

  NOTE: I noticed some compileflags for GE specific libs that were left out -
  I re-enabled them in the SConscripts, but I'm going to do a test build my-
  self now, so if there are problems with them on win32, I probably already
  know about them :)
2006-02-07 21:24:36 +00:00

27 lines
706 B
Python
Executable File

#!/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)