forked from bartvdbraak/blender
ef1b7a5735
+ '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 :)
16 lines
363 B
Python
16 lines
363 B
Python
#!/usr/bin/python
|
|
Import ('env')
|
|
|
|
sources = 'CcdPhysicsEnvironment.cpp CcdPhysicsController.cpp'
|
|
|
|
incs = '. ../common'
|
|
|
|
incs += ' ' + env['BF_BULLET_INC']
|
|
|
|
cflags = []
|
|
if env['OURPLATFORM']=='win32-vc':
|
|
cflags.append('/GR')
|
|
cflags.append('/O2')
|
|
|
|
env.BlenderLib ( 'bf_bullet', Split(sources), Split(incs), [], libtype=['game','player'], priority=[15,90] )
|