summaryrefslogtreecommitdiff
path: root/src/sound/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound/CMakeLists.txt')
-rw-r--r--src/sound/CMakeLists.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/sound/CMakeLists.txt b/src/sound/CMakeLists.txt
new file mode 100644
index 000000000..35f65d120
--- /dev/null
+++ b/src/sound/CMakeLists.txt
@@ -0,0 +1,37 @@
+if (NOT OPTION_DEDICATED)
+ add_files(
+ allegro_s.cpp
+ allegro_s.h
+ CONDITION Allegro_FOUND
+ )
+
+ add_files(
+ sdl_s.cpp
+ sdl_s.h
+ CONDITION SDL_FOUND
+ )
+
+ add_files(
+ cocoa_s.cpp
+ cocoa_s.h
+ CONDITION APPLE
+ )
+
+ add_files(
+ win32_s.cpp
+ win32_s.h
+ CONDITION WIN32
+ )
+
+ add_files(
+ xaudio2_s.cpp
+ xaudio2_s.h
+ CONDITION WIN32 AND XAUDIO2_FOUND
+ )
+endif (NOT OPTION_DEDICATED)
+
+add_files(
+ sound_driver.hpp
+ null_s.cpp
+ null_s.h
+)