blender/intern/SoundSystem/SConscript

21 lines
541 B
Python
Raw Normal View History

#!/usr/bin/python
2004-01-04 21:11:59 +00:00
Import ('env')
2004-01-04 21:11:59 +00:00
sources = env.Glob('dummy/*.cpp') + env.Glob('intern/*.cpp')
2004-01-04 21:11:59 +00:00
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'
2004-01-04 21:11:59 +00:00
if not env['WITH_BF_SDL']:
defs += ' DISABLE_SDL'
2008-01-08 17:32:38 +00:00
env.BlenderLib ('bf_soundsystem', sources, Split(incs), Split(defs), libtype=['core','player'], priority = [25,135] )