Update: Translations from eints
[openttd-github.git] / src / sound / CMakeLists.txt
blobbff33deda3f4fe4840aa4b83372fa8038e49378a
1 if(NOT OPTION_DEDICATED)
2     add_files(
3         allegro_s.cpp
4         allegro_s.h
5         CONDITION Allegro_FOUND
6     )
8     add_files(
9         sdl_s.cpp
10         sdl_s.h
11         CONDITION SDL_FOUND
12     )
14     add_files(
15         sdl2_s.cpp
16         sdl_s.h
17         CONDITION SDL2_FOUND
18     )
20     add_files(
21         cocoa_s.cpp
22         cocoa_s.h
23         CONDITION APPLE
24     )
26     add_files(
27         win32_s.cpp
28         win32_s.h
29         CONDITION WIN32
30     )
32     add_files(
33         xaudio2_s.cpp
34         xaudio2_s.h
35         CONDITION WIN32 AND XAUDIO2_FOUND
36     )
37 endif()
39 add_files(
40     sound_driver.hpp
41     null_s.cpp
42     null_s.h