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: d06b28e7c2dea3ac33c558f64f55c510b3c54257 (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'] == 1:
    sources += env.Glob('openal/*.cpp') + env.Glob('sdl/*.cpp')
    incs += ' ' + env['BF_OPENAL_INC']
    incs += ' ' + env['BF_SDL_INC']

if env['WITH_BF_OPENAL'] == 0:
    defs = 'NO_SOUND'

env.BlenderLib ('blender_sndsys', sources, Split(incs), Split(defs), libtype=['core','player2'], priority = [20,10] )