diff options
author | JP Cimalando <jpcima@users.noreply.github.com> | 2018-05-15 18:09:04 +0200 |
---|---|---|
committer | JP Cimalando <jpcima@users.noreply.github.com> | 2018-05-16 19:34:07 +0200 |
commit | 5fdd39289affe341151839a48e227d51b08c4a25 (patch) | |
tree | c3ce407cb686be55c4774e2e5c2e03ae9b12728b /CMakeLists.txt | |
parent | aa26e965a62e03050f68cbe8cdc3a7ca2194a0c6 (diff) | |
download | libADLMIDI-5fdd39289affe341151839a48e227d51b08c4a25.tar.gz libADLMIDI-5fdd39289affe341151839a48e227d51b08c4a25.tar.bz2 libADLMIDI-5fdd39289affe341151839a48e227d51b08c4a25.zip |
specialized hash table for bank number mappings
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 43c97f9..e104d8d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -488,6 +488,12 @@ install(FILES include/adlmidi.hpp DESTINATION include/) +option(WITH_UNIT_TESTS "Enable unit testing" OFF) +if(WITH_UNIT_TESTS) + enable_testing() + add_subdirectory(test) +endif() + message("==== libADLMIDI options ====") message("WITH_MIDIPLAY = ${WITH_MIDIPLAY}") message("WITH_VLC_PLUGIN = ${WITH_VLC_PLUGIN}") @@ -506,4 +512,4 @@ message("WITH_XMI_SUPPORT = ${WITH_XMI_SUPPORT}") message("libADLMIDI_STATIC = ${libADLMIDI_STATIC}") message("libADLMIDI_SHARED = ${libADLMIDI_SHARED}") message("EXAMPLE_SDL2_AUDIO = ${EXAMPLE_SDL2_AUDIO}") - +message("WITH_UNIT_TESTS = ${WITH_UNIT_TESTS}") |