Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SConscript « SoundSystem « intern - git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 256b7904a0f7c3f178c1ea5e5d6c54a6b354e73a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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'

if not env['WITH_BF_SDL']:
	defs += ' DISABLE_SDL'

env.BlenderLib ('bf_soundsystem', sources, Split(incs), Split(defs), libtype=['intern','player'], priority = [25,135] )