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 :)
17 lines
480 B
Python
17 lines
480 B
Python
#!/usr/bin/python
|
|
|
|
Import ('env')
|
|
|
|
sources = env.Glob('dummy/*.cpp') + env.Glob('intern/*.cpp')
|
|
|
|
incs = '. intern ../moto/include ../string dummy openal sdl'
|
|
defs = ''
|
|
if env['WITH_BF_OPENAL']:
|
|
sources += env.Glob('openal/*.cpp') + env.Glob('sdl/*.cpp')
|
|
incs += ' ' + env['BF_OPENAL_INC']
|
|
incs += ' ' + env['BF_SDL_INC']
|
|
else:
|
|
defs = 'NO_SOUND'
|
|
|
|
env.BlenderLib ('bf_soundsystem', sources, Split(incs), Split(defs), libtype=['core','player'], priority = [20,140] )
|