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: baf680f03f0df7926a164aeb1816834ee018c2c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/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] )