dolphin/Source/Core/AudioCommon/CMakeLists.txt
skidau 61c847eecc Added NullSound to CMake
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6330 8ced0084-cf51-0410-be5f-012b33b47a6e
2010-11-02 00:39:52 +00:00

33 lines
662 B
CMake

set(SRCS Src/AudioCommon.cpp
Src/AudioCommonConfig.cpp
Src/Mixer.cpp
Src/WaveFile.cpp
Src/DSoundStream.cpp)
if(APPLE)
set(SRCS ${SRCS} Src/CoreAudioSoundStream.cpp)
else()
if(ALSA_FOUND)
set(SRCS ${SRCS} Src/AlsaSoundStream.cpp)
endif(ALSA_FOUND)
if(AO_FOUND)
set(SRCS ${SRCS} Src/AOSoundStream.cpp)
endif(AO_FOUND)
if(OPENAL_FOUND OR WIN32)
set(SRCS ${SRCS} Src/OpenALSoundStream.cpp)
endif(OPENAL_FOUND OR WIN32)
if(PULSEAUDIO_FOUND)
set(SRCS ${SRCS} Src/PulseAudioStream.cpp)
endif(PULSEAUDIO_FOUND)
if(WIN32)
set(SRCS ${SRCS} Src/DSoundStream.cpp)
endif(WIN32)
endif()
add_library(audiocommon STATIC ${SRCS})