summaryrefslogtreecommitdiff
path: root/src/music/CMakeLists.txt
blob: b20f8aaf7caf811e9c20247dc47334e51dba5a38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
if(NOT OPTION_DEDICATED)
    add_files(
        allegro_m.cpp
        allegro_m.h
        CONDITION Allegro_FOUND
    )

    add_files(
        fluidsynth.cpp
        fluidsynth.h
        CONDITION Fluidsynth_FOUND
    )

    add_files(
        cocoa_m.cpp
        cocoa_m.h
        CONDITION APPLE
    )

    add_files(
        dmusic.cpp
        dmusic.h
        win32_m.cpp
        win32_m.h
        CONDITION WIN32
    )

    add_files(
        extmidi.cpp
        extmidi.h
        CONDITION UNIX
    )

    add_files(
        bemidi.cpp
        bemidi.h
        CONDITION OPTION_HAIKU
    )

    add_files(
        os2_m.cpp
        os2_m.h
        CONDITION OPTION_OS2
    )
endif()

add_files(
    midi.h
    midifile.cpp
    midifile.hpp
    music_driver.hpp
    null_m.cpp
    null_m.h
)