mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Move SConscript files out from the Src subdirectories to be
consistent with the other build systems. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7282 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
29
Source/Core/AudioCommon/SConscript
Normal file
29
Source/Core/AudioCommon/SConscript
Normal file
@ -0,0 +1,29 @@
|
||||
# -*- python -*-
|
||||
|
||||
Import('env')
|
||||
import sys
|
||||
|
||||
files = [
|
||||
'Src/AudioCommon.cpp',
|
||||
'Src/AudioCommonConfig.cpp',
|
||||
'Src/Mixer.cpp',
|
||||
'Src/NullSoundStream.cpp',
|
||||
'Src/WaveFile.cpp',
|
||||
]
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
files += ['Src/CoreAudioSoundStream.cpp']
|
||||
elif sys.platform == 'win32':
|
||||
files += ['Src/DSoundStream.cpp']
|
||||
files += ['Src/XAudio2Stream.cpp']
|
||||
else:
|
||||
if env['HAVE_ALSA']:
|
||||
files += ['Src/AlsaSoundStream.cpp']
|
||||
if env['HAVE_AO']:
|
||||
files += ['Src/AOSoundStream.cpp']
|
||||
if env['HAVE_OPENAL']:
|
||||
files += ['Src/OpenALStream.cpp', 'Src/aldlist.cpp']
|
||||
if env['HAVE_PULSEAUDIO']:
|
||||
files += ['Src/PulseAudioStream.cpp']
|
||||
|
||||
env['LIBS'] += env.StaticLibrary('audiocommon', files)
|
Reference in New Issue
Block a user