diff options
author | Wohlstand <admin@wohlnet.ru> | 2020-08-31 13:22:42 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2020-08-31 13:22:42 +0300 |
commit | 46fffa615b3012a51d6523143a4505b80dcd78d1 (patch) | |
tree | a5138b0d837950173a0bce747306874b21dcf3c7 /CMakeLists.txt | |
parent | 3916fde906ae42d57cfc7ba074afaf3b2e01417c (diff) | |
download | libADLMIDI-46fffa615b3012a51d6523143a4505b80dcd78d1.tar.gz libADLMIDI-46fffa615b3012a51d6523143a4505b80dcd78d1.tar.bz2 libADLMIDI-46fffa615b3012a51d6523143a4505b80dcd78d1.zip |
Remove C++ extras
All C++ binded features are useless since C-binded real-time MIDI API can completely replace them at all. This was a workaround for ADLMIDI2 tool.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3bae41a..60c9b4c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -113,7 +113,6 @@ endfunction() option(libADLMIDI_STATIC "Build static library of libADLMIDI" ON) option(libADLMIDI_SHARED "Build shared library of libADLMIDI" OFF) -option(WITH_CPP_EXTRAS "Build with support for C++ extras (features can be found in 'adlmidi.hpp' header)" OFF) option(WITH_MIDI_SEQUENCER "Build with embedded MIDI sequencer. Disable this if you want use library in real-time MIDI drivers or plugins." ON) option(WITH_EMBEDDED_BANKS "Use embedded banks" ON) option(WITH_HQ_RESAMPLER "Build with support for high quality resampling" OFF) @@ -209,10 +208,6 @@ function(handle_options targetLib) target_compile_definitions(${targetLib} PUBLIC ADLMIDI_DISABLE_MIDI_SEQUENCER) endif() - if(NOT WITH_CPP_EXTRAS) - target_compile_definitions(${targetLib} PUBLIC ADLMIDI_DISABLE_CPP_EXTRAS) - endif() - if(WITH_EMBEDDED_BANKS AND WITH_GENADLDATA AND NOT ADLMIDI_DOS) add_dependencies(${targetLib} gen-adldata-run) endif() @@ -365,7 +360,6 @@ install(TARGETS ${libADLMIDI_INSTALLS} install(FILES include/adlmidi.h - include/adlmidi.hpp DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}") file(GLOB DOCTXT_FILES @@ -406,7 +400,6 @@ message("libADLMIDI_STATIC = ${libADLMIDI_STATIC}") message("libADLMIDI_SHARED = ${libADLMIDI_SHARED}") message("WITH_UNIT_TESTS = ${WITH_UNIT_TESTS}") -message("WITH_CPP_EXTRAS = ${WITH_CPP_EXTRAS}") message("WITH_MIDI_SEQUENCER = ${WITH_MIDI_SEQUENCER}") message("WITH_EMBEDDED_BANKS = ${WITH_EMBEDDED_BANKS}") message("WITH_HQ_RESAMPLER = ${WITH_HQ_RESAMPLER}") |