diff options
author | Wohlstand <admin@wohlnet.ru> | 2020-09-21 00:45:06 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2020-09-21 00:45:06 +0300 |
commit | f95e5ff580b68b13ba308fd54e1c95d4197ad863 (patch) | |
tree | 63539cbf427912686565dab81b3aa820346967b5 /CMakeLists.txt | |
parent | 193ac787fed2beb43c89312e5f45e231d50c544d (diff) | |
parent | 9b51dd7d667e97338a92711543fc3e942faae52f (diff) | |
download | libADLMIDI-f95e5ff580b68b13ba308fd54e1c95d4197ad863.tar.gz libADLMIDI-f95e5ff580b68b13ba308fd54e1c95d4197ad863.tar.bz2 libADLMIDI-f95e5ff580b68b13ba308fd54e1c95d4197ad863.zip |
Merge branch 'master' of github.com:Wohlstand/libADLMIDI
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 855a3d1..b241b54 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -136,6 +136,10 @@ option(WITH_MUS2MID "Build a MUS to MIDI converter" OFF) option(WITH_XMI2MID "Build a XMI to MIDI converter" OFF) option(EXAMPLE_SDL2_AUDIO "Build also a simple SDL2 demo MIDI player" OFF) +if(WIN32) + option(WITH_WINMMDRV "Build a WinMM MIDI driver" OFF) +endif() + function(handle_options targetLib) if(WITH_MIDI_SEQUENCER) target_sources(${targetLib} PRIVATE ${libADLMIDI_SOURCE_DIR}/src/adlmidi_sequencer.cpp) @@ -345,6 +349,10 @@ if(WITH_VLC_PLUGIN AND NOT ADLMIDI_DOS) add_subdirectory(utils/vlc_codec) endif() +if(WIN32 AND WITH_WINMMDRV) + add_subdirectory(utils/winmm_drv) +endif() + set(libADLMIDI_INSTALLS ) foreach(lib ADLMIDI_static ADLMIDI_shared) if(TARGET ${lib}) |