forked from bartvdbraak/blender
3796abf092
* dxguid is necessary only when building WITH_BF_OPENAL=1. I already added the mingw version to our SVN in lib/windows/openal/lib and now I made sure it is linked against only when needed.
18 lines
489 B
Python
18 lines
489 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']
|
|
defs = 'USE_OPENAL'
|
|
else:
|
|
defs = 'NO_SOUND'
|
|
|
|
env.BlenderLib ('bf_soundsystem', sources, Split(incs), Split(defs), libtype=['core','player'], priority = [20,140] )
|