zmusic/thirdparty/opnmidi/CMakeLists.txt
Wohlstand 72c23d98a3 Update libOPNMIDI library to 1.5.0
## 1.5.0   2020-09-28
 * Drum note length expanding is now supported in real-time mode (Thanks to [Jean Pierre Cimalando](https://github.com/jpcima) for a work!)
 * Added support for OPNA chip with Neko Project II Kai YM2602 emulator usage (Thanks to [Jean Pierre Cimalando](https://github.com/jpcima) for a work!)
 * Added VGM file dumper which allows to output OPN2 commands into VGM file. (A new MIDI to VGM tool is now created with basing on libOPNMIDI)
 * Fixed an incorrect work of CC-121 (See https://github.com/Wohlstand/libADLMIDI/issues/227 for details)
 * Internality has been refactored and improved
2020-10-04 08:03:44 +02:00

43 lines
1 KiB
CMake

cmake_minimum_required( VERSION 2.8.7 )
make_release_only()
use_fast_math()
# we play with out own sequencer
add_definitions(-DOPNMIDI_DISABLE_MIDI_SEQUENCER)
# Disable OPNMIDI's experimental yet emulator (using of it has some issues and missing notes in playback)
add_definitions(-DOPNMIDI_DISABLE_GX_EMULATOR)
add_library( opn STATIC
opnmidi_load.cpp
opnmidi_private.cpp
opnmidi.cpp
opnmidi_midiplay.cpp
opnmidi_opn2.cpp
chips/np2/fmgen_fmgen.cpp
chips/np2/fmgen_opna.cpp
chips/np2/fmgen_fmtimer.cpp
chips/np2/fmgen_file.cpp
chips/np2/fmgen_psg.cpp
chips/mame_opn2.cpp
chips/gens_opn2.cpp
chips/mame_opna.cpp
chips/np2_opna.cpp
chips/mamefm/ymdeltat.cpp
chips/mamefm/resampler.cpp
chips/mamefm/fm.cpp
chips/nuked_opn2.cpp
chips/gens/Ym2612_Emu.cpp
chips/gx_opn2.cpp
chips/pmdwin_opna.cpp
chips/nuked/ym3438.c
chips/gx/gx_ym2612.c
chips/pmdwin/opna.c
chips/pmdwin/psg.c
chips/pmdwin/rhythmdata.c
chips/mamefm/emu2149.c
chips/mame/mame_ym2612fm.c
wopn/wopn_file.c
)
target_link_libraries( opn )