mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 13:57:57 -07:00
404c625622
On OS X, build all code as Objective-C(++). Centralize framework handling. Cleanup. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5645 8ced0084-cf51-0410-be5f-012b33b47a6e
29 lines
553 B
Python
29 lines
553 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
files = [
|
|
'AudioCommonConfig.cpp',
|
|
'WaveFile.cpp',
|
|
'Mixer.cpp',
|
|
'AudioCommon.cpp',
|
|
]
|
|
|
|
if env['HAVE_OPENAL']:
|
|
files += [ 'OpenALStream.cpp', 'aldlist.cpp' ]
|
|
|
|
if env['HAVE_AO']:
|
|
files += [ 'AOSoundStream.cpp' ]
|
|
|
|
if env['HAVE_ALSA']:
|
|
files += [ 'AlsaSoundStream.cpp' ]
|
|
|
|
if env['HAVE_PULSEAUDIO']:
|
|
files += [ 'PulseAudioStream.cpp' ]
|
|
|
|
if sys.platform == 'darwin':
|
|
files += [ 'CoreAudioSoundStream.cpp' ]
|
|
|
|
env.StaticLibrary(env['local_libs'] + 'audiocommon', files)
|