2010-10-31 16:15:32 +00:00
|
|
|
# FluidSynth - A Software Synthesizer
|
2010-03-17 20:14:13 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2003-2010 Peter Hanappe and others.
|
|
|
|
#
|
|
|
|
# This library is free software; you can redistribute it and/or
|
2017-07-12 15:45:23 +00:00
|
|
|
# modify it under the terms of the GNU Lesser General Public License
|
2017-07-12 15:53:03 +00:00
|
|
|
# as published by the Free Software Foundation; either version 2.1 of
|
2010-03-17 20:14:13 +00:00
|
|
|
# the License, or (at your option) any later version.
|
|
|
|
#
|
|
|
|
# This library is distributed in the hope that it will be useful, but
|
|
|
|
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
2017-07-12 15:45:23 +00:00
|
|
|
# Lesser General Public License for more details.
|
2010-03-17 20:14:13 +00:00
|
|
|
#
|
2017-07-12 15:54:54 +00:00
|
|
|
# You should have received a copy of the GNU Lesser General Public
|
2010-03-17 20:14:13 +00:00
|
|
|
# License along with this library; if not, write to the Free
|
|
|
|
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
|
|
|
# 02111-1307, USA
|
|
|
|
|
|
|
|
# CMake based build system. Pedro Lopez-Cabanillas <plcl@users.sf.net>
|
|
|
|
|
|
|
|
include_directories (
|
2010-06-20 22:13:57 +00:00
|
|
|
${CMAKE_BINARY_DIR}
|
2010-10-31 16:15:32 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/src
|
2010-06-29 10:28:38 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/src/drivers
|
2010-06-28 20:49:01 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/src/synth
|
2010-06-20 22:13:57 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/src/rvoice
|
2010-06-29 10:28:38 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/src/midi
|
|
|
|
${CMAKE_SOURCE_DIR}/src/utils
|
2010-06-27 22:05:33 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/src/sfloader
|
|
|
|
${CMAKE_SOURCE_DIR}/src/bindings
|
2010-10-31 16:15:32 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/include
|
|
|
|
${CMAKE_BINARY_DIR}/include
|
2010-03-17 20:14:13 +00:00
|
|
|
${PTHREADS_INCLUDE_DIR}
|
2010-10-31 16:15:32 +00:00
|
|
|
${GLIB_INCLUDEDIR}
|
|
|
|
${GLIB_INCLUDE_DIRS}
|
2010-03-17 20:14:13 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
# ************ library ************
|
|
|
|
|
|
|
|
if ( READLINE_SUPPORT )
|
|
|
|
include_directories ( ${READLINE_INCLUDE_DIR} )
|
|
|
|
endif ( READLINE_SUPPORT )
|
2010-10-31 16:15:32 +00:00
|
|
|
|
|
|
|
if ( PULSE_SUPPORT )
|
2010-06-20 22:13:57 +00:00
|
|
|
set ( fluid_pulse_SOURCES drivers/fluid_pulse.c )
|
2010-03-17 20:14:13 +00:00
|
|
|
include_directories ( ${PULSE_INCLUDEDIR} ${PULSE_INCLUDE_DIRS} )
|
|
|
|
endif ( PULSE_SUPPORT )
|
|
|
|
|
|
|
|
if ( ALSA_SUPPORT )
|
2010-06-20 22:13:57 +00:00
|
|
|
set ( fluid_alsa_SOURCES drivers/fluid_alsa.c )
|
2010-03-17 20:14:13 +00:00
|
|
|
include_directories ( ${ALSA_INCLUDEDIR} ${ALSA_INCLUDE_DIRS} )
|
|
|
|
endif ( ALSA_SUPPORT )
|
|
|
|
|
|
|
|
if ( COREAUDIO_SUPPORT )
|
2010-06-20 22:13:57 +00:00
|
|
|
set ( fluid_coreaudio_SOURCES drivers/fluid_coreaudio.c )
|
2010-03-17 20:14:13 +00:00
|
|
|
endif ( COREAUDIO_SUPPORT )
|
|
|
|
|
|
|
|
if ( COREMIDI_SUPPORT )
|
2010-06-20 22:13:57 +00:00
|
|
|
set ( fluid_coremidi_SOURCES drivers/fluid_coremidi.c )
|
2010-03-17 20:14:13 +00:00
|
|
|
endif ( COREMIDI_SUPPORT )
|
|
|
|
|
2010-06-25 11:12:49 +00:00
|
|
|
if ( DBUS_SUPPORT )
|
2010-06-27 22:05:33 +00:00
|
|
|
set ( fluid_dbus_SOURCES bindings/fluid_rtkit.c bindings/fluid_rtkit.h )
|
2010-06-25 11:12:49 +00:00
|
|
|
include_directories ( ${DBUS_INCLUDEDIR} ${DBUS_INCLUDE_DIRS} )
|
|
|
|
endif ( DBUS_SUPPORT )
|
|
|
|
|
2010-03-17 20:14:13 +00:00
|
|
|
if ( JACK_SUPPORT )
|
2010-06-20 22:13:57 +00:00
|
|
|
set ( fluid_jack_SOURCES drivers/fluid_jack.c )
|
2010-10-31 16:15:32 +00:00
|
|
|
include_directories ( ${JACK_INCLUDEDIR} ${JACK_INCLUDE_DIRS} )
|
2010-03-17 20:14:13 +00:00
|
|
|
endif ( JACK_SUPPORT )
|
|
|
|
|
|
|
|
if ( PORTAUDIO_SUPPORT )
|
2010-06-20 22:13:57 +00:00
|
|
|
set ( fluid_portaudio_SOURCES drivers/fluid_portaudio.c )
|
2010-03-17 20:14:13 +00:00
|
|
|
include_directories ( ${PORTAUDIO_INCLUDEDIR} ${PORTAUDIO_INCLUDE_DIRS} )
|
|
|
|
endif ( PORTAUDIO_SUPPORT )
|
|
|
|
|
|
|
|
if ( WINDOWS_SUPPORT )
|
2010-06-20 22:13:57 +00:00
|
|
|
set ( fluid_windows_SOURCES fluid_dll.c drivers/fluid_dsound.c drivers/fluid_winmidi.c )
|
2010-03-17 20:14:13 +00:00
|
|
|
endif ( WINDOWS_SUPPORT )
|
|
|
|
|
|
|
|
if ( OSS_SUPPORT )
|
2010-06-20 22:13:57 +00:00
|
|
|
set ( fluid_oss_SOURCES drivers/fluid_oss.c )
|
2010-03-17 20:14:13 +00:00
|
|
|
endif ( OSS_SUPPORT )
|
|
|
|
|
2017-09-15 09:11:09 +00:00
|
|
|
if ( LASH_SUPPORT )
|
2010-06-27 22:05:33 +00:00
|
|
|
set ( fluid_lash_SOURCES bindings/fluid_lash.c bindings/fluid_lash.h )
|
2017-09-15 09:11:09 +00:00
|
|
|
include_directories ( ${LASH_INCLUDEDIR}
|
|
|
|
${LASH_INCLUDE_DIRS})
|
|
|
|
endif ( LASH_SUPPORT )
|
2010-03-17 20:14:13 +00:00
|
|
|
|
|
|
|
if ( DART_SUPPORT )
|
2010-06-20 22:13:57 +00:00
|
|
|
set ( fluid_dart_SOURCES drivers/fluid_dart.c )
|
2010-10-31 16:15:32 +00:00
|
|
|
include_directories ( ${DART_INCLUDE_DIRS} )
|
2010-03-17 20:14:13 +00:00
|
|
|
endif ( DART_SUPPORT )
|
|
|
|
|
|
|
|
if ( LIBSNDFILE_SUPPORT )
|
|
|
|
include_directories ( ${LIBSNDFILE_INCLUDEDIR} ${LIBSNDFILE_INCLUDE_DIRS} )
|
|
|
|
endif ( LIBSNDFILE_SUPPORT )
|
|
|
|
|
|
|
|
if ( LADSPA_SUPPORT )
|
2010-06-27 22:05:33 +00:00
|
|
|
set ( fluid_ladspa_SOURCES bindings/fluid_ladspa.c bindings/fluid_ladspa.h )
|
2010-03-17 20:14:13 +00:00
|
|
|
endif ( LADSPA_SUPPORT )
|
|
|
|
|
|
|
|
if ( MIDISHARE_SUPPORT )
|
2010-06-20 22:13:57 +00:00
|
|
|
set ( fluid_midishare_SOURCES drivers/fluid_midishare.c )
|
2010-03-17 20:14:13 +00:00
|
|
|
include_directories ( ${MidiShare_INCLUDE_DIRS} )
|
|
|
|
endif ( MIDISHARE_SUPPORT )
|
|
|
|
|
2010-10-31 16:15:32 +00:00
|
|
|
set ( config_SOURCES ${CMAKE_BINARY_DIR}/config.h )
|
|
|
|
if ( MSVC )
|
|
|
|
set ( config_SOURCES
|
|
|
|
${config_SOURCES}
|
|
|
|
${CMAKE_BINARY_DIR}/config_win32.h )
|
|
|
|
endif ( MSVC )
|
|
|
|
|
|
|
|
set ( libfluidsynth_SOURCES
|
|
|
|
utils/fluid_conv.c
|
|
|
|
utils/fluid_conv.h
|
|
|
|
utils/fluid_hash.c
|
|
|
|
utils/fluid_hash.h
|
|
|
|
utils/fluid_list.c
|
|
|
|
utils/fluid_list.h
|
2010-06-29 10:28:38 +00:00
|
|
|
utils/fluid_ringbuffer.c
|
|
|
|
utils/fluid_ringbuffer.h
|
2010-10-31 16:15:32 +00:00
|
|
|
utils/fluid_settings.c
|
|
|
|
utils/fluid_settings.h
|
|
|
|
utils/fluidsynth_priv.h
|
|
|
|
utils/fluid_sys.c
|
|
|
|
utils/fluid_sys.h
|
|
|
|
sfloader/fluid_defsfont.c
|
|
|
|
sfloader/fluid_defsfont.h
|
|
|
|
sfloader/fluid_ramsfont.c
|
|
|
|
sfloader/fluid_ramsfont.h
|
|
|
|
sfloader/fluid_sfont.h
|
2010-06-29 10:28:38 +00:00
|
|
|
rvoice/fluid_adsr_env.c
|
|
|
|
rvoice/fluid_adsr_env.h
|
2010-10-31 16:15:32 +00:00
|
|
|
rvoice/fluid_chorus.c
|
|
|
|
rvoice/fluid_chorus.h
|
2010-06-20 22:13:57 +00:00
|
|
|
rvoice/fluid_iir_filter.c
|
|
|
|
rvoice/fluid_iir_filter.h
|
2010-07-31 20:50:47 +00:00
|
|
|
rvoice/fluid_lfo.c
|
2010-06-20 22:13:57 +00:00
|
|
|
rvoice/fluid_lfo.h
|
2010-06-26 15:02:58 +00:00
|
|
|
rvoice/fluid_rvoice.h
|
|
|
|
rvoice/fluid_rvoice.c
|
|
|
|
rvoice/fluid_rvoice_dsp.c
|
2010-06-28 20:03:12 +00:00
|
|
|
rvoice/fluid_rvoice_event.h
|
|
|
|
rvoice/fluid_rvoice_event.c
|
2010-06-30 16:39:20 +00:00
|
|
|
rvoice/fluid_rvoice_mixer.h
|
|
|
|
rvoice/fluid_rvoice_mixer.c
|
2010-10-31 16:15:32 +00:00
|
|
|
rvoice/fluid_phase.h
|
|
|
|
rvoice/fluid_rev.c
|
|
|
|
rvoice/fluid_rev.h
|
|
|
|
synth/fluid_chan.c
|
|
|
|
synth/fluid_chan.h
|
|
|
|
synth/fluid_event.c
|
|
|
|
synth/fluid_event_priv.h
|
|
|
|
synth/fluid_gen.c
|
|
|
|
synth/fluid_gen.h
|
|
|
|
synth/fluid_mod.c
|
|
|
|
synth/fluid_mod.h
|
|
|
|
synth/fluid_synth.c
|
|
|
|
synth/fluid_synth.h
|
|
|
|
synth/fluid_tuning.c
|
|
|
|
synth/fluid_tuning.h
|
|
|
|
synth/fluid_voice.c
|
|
|
|
synth/fluid_voice.h
|
|
|
|
midi/fluid_midi.c
|
|
|
|
midi/fluid_midi.h
|
|
|
|
midi/fluid_midi_router.c
|
|
|
|
midi/fluid_midi_router.h
|
|
|
|
midi/fluid_seqbind.c
|
|
|
|
midi/fluid_seq.c
|
|
|
|
drivers/fluid_adriver.c
|
|
|
|
drivers/fluid_adriver.h
|
|
|
|
drivers/fluid_mdriver.c
|
|
|
|
drivers/fluid_mdriver.h
|
|
|
|
drivers/fluid_aufile.c
|
|
|
|
bindings/fluid_cmd.c
|
2010-06-29 10:28:38 +00:00
|
|
|
bindings/fluid_cmd.h
|
2010-10-31 16:15:32 +00:00
|
|
|
bindings/fluid_filerenderer.c
|
|
|
|
)
|
2010-03-17 20:14:13 +00:00
|
|
|
|
2010-10-13 21:57:19 +00:00
|
|
|
set ( public_HEADERS
|
2010-10-31 16:15:32 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/include/fluidsynth/audio.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/fluidsynth/event.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/fluidsynth/gen.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/fluidsynth/log.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/fluidsynth/midi.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/fluidsynth/misc.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/fluidsynth/mod.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/fluidsynth/ramsfont.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/fluidsynth/seq.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/fluidsynth/seqbind.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/fluidsynth/settings.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/fluidsynth/sfont.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/fluidsynth/shell.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/fluidsynth/synth.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/fluidsynth/types.h
|
|
|
|
${CMAKE_SOURCE_DIR}/include/fluidsynth/voice.h
|
|
|
|
${CMAKE_BINARY_DIR}/include/fluidsynth/version.h
|
2010-10-13 21:57:19 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
set ( public_main_HEADER
|
2010-10-31 16:15:32 +00:00
|
|
|
${CMAKE_SOURCE_DIR}/include/fluidsynth.h
|
2010-10-13 21:57:19 +00:00
|
|
|
)
|
|
|
|
|
2010-03-17 20:14:13 +00:00
|
|
|
link_directories (
|
2010-10-31 16:15:32 +00:00
|
|
|
${GLIB_LIBDIR}
|
|
|
|
${GLIB_LIBRARY_DIRS}
|
|
|
|
${LASH_LIBDIR}
|
|
|
|
${LASH_LIBRARY_DIRS}
|
|
|
|
${JACK_LIBDIR}
|
|
|
|
${JACK_LIBRARY_DIRS}
|
|
|
|
${ALSA_LIBDIR}
|
|
|
|
${ALSA_LIBRARY_DIRS}
|
|
|
|
${PULSE_LIBDIR}
|
|
|
|
${PULSE_LIBRARY_DIRS}
|
|
|
|
${PORTAUDIO_LIBDIR}
|
|
|
|
${PORTAUDIO_LIBRARY_DIRS}
|
2010-03-17 20:14:13 +00:00
|
|
|
${LIBSNDFILE_LIBDIR}
|
|
|
|
${LIBSNDFILE_LIBRARY_DIRS}
|
2010-10-31 16:15:32 +00:00
|
|
|
${DBUS_LIBDIR}
|
|
|
|
${DBUS_LIBRARY_DIRS}
|
2010-03-17 20:14:13 +00:00
|
|
|
)
|
|
|
|
|
2010-10-13 21:57:19 +00:00
|
|
|
|
2010-10-31 16:15:32 +00:00
|
|
|
# note: by default this target creates a shared object (or dll). To build a
|
2010-08-11 11:18:53 +00:00
|
|
|
# static library instead, set the option BUILD_SHARED_LIBS to FALSE.
|
2010-10-31 16:15:32 +00:00
|
|
|
add_library ( libfluidsynth
|
|
|
|
${config_SOURCES}
|
2010-03-17 20:14:13 +00:00
|
|
|
${fluid_alsa_SOURCES}
|
|
|
|
${fluid_coreaudio_SOURCES}
|
|
|
|
${fluid_coremidi_SOURCES}
|
|
|
|
${fluid_dart_SOURCES}
|
2010-06-25 11:12:49 +00:00
|
|
|
${fluid_dbus_SOURCES}
|
2010-03-17 20:14:13 +00:00
|
|
|
${fluid_jack_SOURCES}
|
|
|
|
${fluid_lash_SOURCES}
|
|
|
|
${fluid_ladspa_SOURCES}
|
|
|
|
${fluid_midishare_SOURCES}
|
|
|
|
${fluid_oss_SOURCES}
|
|
|
|
${fluid_portaudio_SOURCES}
|
|
|
|
${fluid_pulse_SOURCES}
|
|
|
|
${fluid_windows_SOURCES}
|
2010-10-31 16:15:32 +00:00
|
|
|
${libfluidsynth_SOURCES}
|
2010-10-13 21:57:19 +00:00
|
|
|
${public_HEADERS}
|
|
|
|
${public_main_HEADER}
|
2010-03-17 20:14:13 +00:00
|
|
|
)
|
|
|
|
|
2010-10-13 21:57:19 +00:00
|
|
|
if ( MACOSX_FRAMEWORK )
|
2010-10-31 16:15:32 +00:00
|
|
|
set_property ( SOURCE ${public_HEADERS}
|
|
|
|
PROPERTY MACOSX_PACKAGE_LOCATION Headers/fluidsynth
|
2010-10-13 21:57:19 +00:00
|
|
|
)
|
|
|
|
set_target_properties ( libfluidsynth
|
2010-10-31 16:15:32 +00:00
|
|
|
PROPERTIES
|
|
|
|
OUTPUT_NAME "FluidSynth"
|
2010-10-13 21:57:19 +00:00
|
|
|
FRAMEWORK TRUE
|
2010-10-31 16:15:32 +00:00
|
|
|
PUBLIC_HEADER "${public_main_HEADER}"
|
2010-10-16 18:27:29 +00:00
|
|
|
FRAMEWORK_VERSION "${LIB_VERSION_CURRENT}"
|
2010-10-31 16:15:32 +00:00
|
|
|
INSTALL_NAME_DIR ""
|
2010-10-16 18:27:29 +00:00
|
|
|
VERSION ${LIB_VERSION_INFO}
|
|
|
|
SOVERSION ${LIB_VERSION_CURRENT}
|
2010-10-13 21:57:19 +00:00
|
|
|
)
|
2014-03-15 12:20:51 +00:00
|
|
|
elseif ( OS2 )
|
|
|
|
set_target_properties ( libfluidsynth
|
|
|
|
PROPERTIES
|
2016-01-21 12:26:43 +00:00
|
|
|
OUTPUT_NAME "fluidsynth"
|
2014-03-15 12:20:51 +00:00
|
|
|
VERSION ${LIB_VERSION_INFO}
|
|
|
|
SOVERSION ${LIB_VERSION_CURRENT}
|
|
|
|
)
|
2010-10-13 21:57:19 +00:00
|
|
|
else ( MACOSX_FRAMEWORK )
|
2010-10-31 16:15:32 +00:00
|
|
|
set_target_properties ( libfluidsynth
|
2010-10-13 21:57:19 +00:00
|
|
|
PROPERTIES
|
|
|
|
PREFIX "lib"
|
2010-10-31 16:15:32 +00:00
|
|
|
OUTPUT_NAME "fluidsynth"
|
2010-10-16 18:27:29 +00:00
|
|
|
VERSION ${LIB_VERSION_INFO}
|
|
|
|
SOVERSION ${LIB_VERSION_CURRENT}
|
2010-10-13 21:57:19 +00:00
|
|
|
)
|
|
|
|
endif ( MACOSX_FRAMEWORK )
|
|
|
|
|
|
|
|
if ( LIBFLUID_CPPFLAGS )
|
|
|
|
set_target_properties ( libfluidsynth
|
2010-03-17 20:14:13 +00:00
|
|
|
PROPERTIES COMPILE_FLAGS ${LIBFLUID_CPPFLAGS} )
|
2010-10-31 16:15:32 +00:00
|
|
|
endif ( LIBFLUID_CPPFLAGS )
|
2010-03-17 20:14:13 +00:00
|
|
|
|
|
|
|
target_link_libraries ( libfluidsynth
|
2010-10-31 16:15:32 +00:00
|
|
|
${GLIB_LIBRARIES}
|
|
|
|
${LASH_LIBRARIES}
|
|
|
|
${JACK_LIBRARIES}
|
|
|
|
${ALSA_LIBRARIES}
|
|
|
|
${PULSE_LIBRARIES}
|
|
|
|
${PORTAUDIO_LIBRARIES}
|
2010-03-17 20:14:13 +00:00
|
|
|
${LIBSNDFILE_LIBRARIES}
|
2010-06-25 11:12:49 +00:00
|
|
|
${DBUS_LIBRARIES}
|
2010-10-31 16:15:32 +00:00
|
|
|
${READLINE_LIBS}
|
|
|
|
${DART_LIBS}
|
|
|
|
${COREAUDIO_LIBS}
|
|
|
|
${COREMIDI_LIBS}
|
2010-03-17 20:14:13 +00:00
|
|
|
${WINDOWS_LIBS}
|
|
|
|
${MidiShare_LIBS}
|
2010-06-25 11:12:49 +00:00
|
|
|
${LIBFLUID_LIBS}
|
2010-03-17 20:14:13 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
# ************ CLI program ************
|
|
|
|
|
|
|
|
set ( fluidsynth_SOURCES fluidsynth.c )
|
|
|
|
|
2010-10-31 16:15:32 +00:00
|
|
|
add_executable ( fluidsynth
|
|
|
|
${fluidsynth_SOURCES}
|
2010-03-17 20:14:13 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
if ( FLUID_CPPFLAGS )
|
2010-10-31 16:15:32 +00:00
|
|
|
set_target_properties ( fluidsynth
|
2010-03-17 20:14:13 +00:00
|
|
|
PROPERTIES COMPILE_FLAGS ${FLUID_CPPFLAGS} )
|
2010-10-31 16:15:32 +00:00
|
|
|
endif ( FLUID_CPPFLAGS )
|
2010-03-17 20:14:13 +00:00
|
|
|
|
2010-10-31 16:15:32 +00:00
|
|
|
target_link_libraries ( fluidsynth
|
|
|
|
libfluidsynth
|
2010-03-17 20:14:13 +00:00
|
|
|
${FLUID_LIBS}
|
|
|
|
)
|
|
|
|
|
2010-10-31 16:15:32 +00:00
|
|
|
if ( MACOSX_FRAMEWORK )
|
|
|
|
install ( TARGETS fluidsynth libfluidsynth
|
|
|
|
RUNTIME DESTINATION ${BIN_INSTALL_DIR}
|
|
|
|
FRAMEWORK DESTINATION ${FRAMEWORK_INSTALL_DIR}
|
2010-03-17 20:14:13 +00:00
|
|
|
)
|
2010-10-31 16:15:32 +00:00
|
|
|
else ( MACOSX_FRAMEWORK )
|
|
|
|
install ( TARGETS fluidsynth libfluidsynth
|
|
|
|
RUNTIME DESTINATION ${BIN_INSTALL_DIR}
|
|
|
|
LIBRARY DESTINATION ${LIB_INSTALL_DIR}${LIB_SUFFIX}
|
|
|
|
ARCHIVE DESTINATION ${LIB_INSTALL_DIR}${LIB_SUFFIX}
|
|
|
|
)
|
|
|
|
endif ( MACOSX_FRAMEWORK )
|
|
|
|
|