File: SConscript

package info (click to toggle)
blender 2.46%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 68,208 kB
  • ctags: 77,061
  • sloc: ansic: 518,049; cpp: 199,438; python: 67,585; sh: 7,097; makefile: 3,572; perl: 2,082; java: 8
file content (17 lines) | stat: -rw-r--r-- 489 bytes parent folder | download
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] )