summaryrefslogtreecommitdiffstats
path: root/arts/modules
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2017-03-26 15:58:46 +0200
committerSlávek Banko <[email protected]>2017-03-26 15:59:04 +0200
commitefcdd889254fc98314dd48854d50e90aa21e53c0 (patch)
tree5dc7034c23a5a18ca31d90225137f5eeaec809c4 /arts/modules
parent25709e498d5832125f5f584bd10e3c66d05ec5ee (diff)
downloadtdemultimedia-efcdd889254fc98314dd48854d50e90aa21e53c0.tar.gz
tdemultimedia-efcdd889254fc98314dd48854d50e90aa21e53c0.zip
Initial cmake conversion
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 8b12682035e2ae92a29a9ce12abc5fbcf38b1192)
Diffstat (limited to 'arts/modules')
-rw-r--r--arts/modules/CMakeLists.txt84
-rw-r--r--arts/modules/common/CMakeLists.txt84
-rw-r--r--arts/modules/common/mcopclass/CMakeLists.txt27
-rw-r--r--arts/modules/effects/CMakeLists.txt90
-rw-r--r--arts/modules/effects/freeverb/CMakeLists.txt34
-rw-r--r--arts/modules/effects/mcopclass/CMakeLists.txt34
-rw-r--r--arts/modules/mixers/CMakeLists.txt81
-rw-r--r--arts/modules/mixers/mcopclass/CMakeLists.txt21
-rw-r--r--arts/modules/synth/CMakeLists.txt85
-rw-r--r--arts/modules/synth/mcopclass/CMakeLists.txt49
10 files changed, 589 insertions, 0 deletions
diff --git a/arts/modules/CMakeLists.txt b/arts/modules/CMakeLists.txt
new file mode 100644
index 00000000..9f37038c
--- /dev/null
+++ b/arts/modules/CMakeLists.txt
@@ -0,0 +1,84 @@
+#################################################
+#
+# (C) 2017 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( common )
+add_subdirectory( effects )
+add_subdirectory( mixers )
+add_subdirectory( synth )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/arts/gui/common
+ ${CMAKE_BINARY_DIR}/arts/midi
+ ${CMAKE_BINARY_DIR}/arts/modules/common
+ ${CMAKE_BINARY_DIR}/arts/modules/effects
+ ${CMAKE_BINARY_DIR}/arts/modules/mixers
+ ${CMAKE_BINARY_DIR}/arts/modules/synth
+ ${CMAKE_BINARY_DIR}/arts/runtime
+ ${CMAKE_BINARY_DIR}
+ ${ARTS_INCLUDE_DIRS}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${ARTS_LIBRARY_DIRS}
+)
+
+
+##### artsmodules (library) #####################
+
+tde_add_library( artsmodules SHARED
+ SOURCES
+ artsmodules.cc
+ VERSION 0.0.0
+ LINK
+ tdecore-shared ${DL_LIBRARIES} mcop artsflow
+ artsbuilder-shared artsgui_idl-shared artsmidi_idl-shared
+ artsmodulescommon-shared artsmodulessynth-shared
+ artsmoduleseffects-shared artsmodulesmixers-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+add_custom_command(
+ OUTPUT
+ artsmodules.cc artsmodules.h
+ artsmodules.mcoptype artsmodules.mcopclass
+ COMMAND ${ARTS_MCOPIDL_EXECUTABLE} -t
+ -I${CMAKE_SOURCE_DIR}/arts/gui/common
+ -I${CMAKE_SOURCE_DIR}/arts/midi
+ -I${CMAKE_SOURCE_DIR}/arts/modules
+ -I${CMAKE_SOURCE_DIR}/arts/modules/common
+ -I${CMAKE_SOURCE_DIR}/arts/modules/effects
+ -I${CMAKE_SOURCE_DIR}/arts/modules/mixers
+ -I${CMAKE_SOURCE_DIR}/arts/modules/synth
+ -I${ARTS_INCLUDEDIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/artsmodules.idl
+ DEPENDS artsmodules.idl
+)
+
+
+##### other data ################################
+
+install(
+ FILES
+ artsmodules.idl
+ ${CMAKE_CURRENT_BINARY_DIR}/artsmodules.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/arts
+)
+
+install(
+ FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/artsmodules.mcoptype
+ ${CMAKE_CURRENT_BINARY_DIR}/artsmodules.mcopclass
+ DESTINATION ${LIB_INSTALL_DIR}/mcop
+)
diff --git a/arts/modules/common/CMakeLists.txt b/arts/modules/common/CMakeLists.txt
new file mode 100644
index 00000000..329fb104
--- /dev/null
+++ b/arts/modules/common/CMakeLists.txt
@@ -0,0 +1,84 @@
+#################################################
+#
+# (C) 2017 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( mcopclass )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/arts/modules
+ ${CMAKE_BINARY_DIR}/arts/gui/common
+ ${CMAKE_BINARY_DIR}/arts/midi
+ ${CMAKE_BINARY_DIR}/arts/modules
+ ${CMAKE_BINARY_DIR}/arts/modules/common
+ ${CMAKE_BINARY_DIR}/arts/modules/effects
+ ${CMAKE_BINARY_DIR}/arts/modules/mixers
+ ${CMAKE_BINARY_DIR}/arts/modules/synth
+ ${CMAKE_BINARY_DIR}/arts/runtime
+ ${CMAKE_BINARY_DIR}
+ ${ARTS_INCLUDE_DIRS}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${ARTS_LIBRARY_DIRS}
+)
+
+
+##### artsmodulescommon (library) ###############
+
+tde_add_library( artsmodulescommon SHARED
+ SOURCES
+ artsmodulescommon.cc effectrackslot_impl.cc
+ env_container_impl.cc env_context_impl.cc
+ env_effectrackitem_impl.cc env_instrumentitem_impl.cc
+ env_item_impl.cc env_mixeritem_impl.cc
+ VERSION 0.0.0
+ LINK
+ artsgui_idl-shared artsmidi_idl-shared artsmodulessynth-shared
+ tdecore-shared mcop artsflow artsflow_idl gthread-2.0 ${ARTS_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+add_custom_command(
+ OUTPUT
+ artsmodulescommon.cc artsmodulescommon.h
+ artsmodulescommon.mcopclass artsmodulescommon.mcoptype
+ COMMAND ${ARTS_MCOPIDL_EXECUTABLE} -t
+ -I${CMAKE_SOURCE_DIR}/arts/gui/common
+ -I${CMAKE_SOURCE_DIR}/arts/midi
+ -I${CMAKE_SOURCE_DIR}/arts/modules
+ -I${CMAKE_SOURCE_DIR}/arts/modules/common
+ -I${CMAKE_SOURCE_DIR}/arts/modules/effects
+ -I${CMAKE_SOURCE_DIR}/arts/modules/mixers
+ -I${CMAKE_SOURCE_DIR}/arts/modules/synth
+ -I${ARTS_INCLUDEDIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/artsmodulescommon.idl
+ DEPENDS artsmodulescommon.idl
+)
+
+
+##### other data ################################
+
+install(
+ FILES
+ artsmodulescommon.idl
+ ${CMAKE_CURRENT_BINARY_DIR}/artsmodulescommon.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/arts
+)
+
+install(
+ FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/artsmodulescommon.mcoptype
+ ${CMAKE_CURRENT_BINARY_DIR}/artsmodulescommon.mcopclass
+ DESTINATION ${LIB_INSTALL_DIR}/mcop
+)
diff --git a/arts/modules/common/mcopclass/CMakeLists.txt b/arts/modules/common/mcopclass/CMakeLists.txt
new file mode 100644
index 00000000..40d34d7a
--- /dev/null
+++ b/arts/modules/common/mcopclass/CMakeLists.txt
@@ -0,0 +1,27 @@
+#################################################
+#
+# (C) 2017 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install(
+ FILES
+ EffectRackGuiFactory.mcopclass
+ MixerGuiFactory.mcopclass
+ DESTINATION ${LIB_INSTALL_DIR}/mcop/Arts
+)
+
+install(
+ FILES
+ InstrumentItem.mcopclass
+ Container.mcopclass
+ MixerItem.mcopclass
+ EffectRackItem.mcopclass
+ InstrumentItemGuiFactory.mcopclass
+ DESTINATION ${LIB_INSTALL_DIR}/mcop/Arts/Environment
+)
diff --git a/arts/modules/effects/CMakeLists.txt b/arts/modules/effects/CMakeLists.txt
new file mode 100644
index 00000000..58c847d9
--- /dev/null
+++ b/arts/modules/effects/CMakeLists.txt
@@ -0,0 +1,90 @@
+#################################################
+#
+# (C) 2017 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( freeverb )
+add_subdirectory( mcopclass )
+
+include_directories(
+ ${CMAKE_SOURCE_DIR}/arts/gui/kde
+ ${CMAKE_SOURCE_DIR}/arts/modules/synth
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/arts/gui/common
+ ${CMAKE_BINARY_DIR}/arts/midi
+ ${CMAKE_BINARY_DIR}/arts/modules
+ ${CMAKE_BINARY_DIR}/arts/modules/common
+ ${CMAKE_BINARY_DIR}/arts/modules/synth
+ ${CMAKE_BINARY_DIR}/arts/runtime
+ ${CMAKE_BINARY_DIR}
+ ${ARTS_INCLUDE_DIRS}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${ARTS_LIBRARY_DIRS}
+)
+
+
+##### artsmoduleseffects (library) ##############
+
+tde_add_library( artsmoduleseffects SHARED AUTOMOC
+ SOURCES
+ artsmoduleseffects.cc
+ fivebandmonocomplexeq_impl.cc
+ monostereoconversion_impl.cc
+ synth_stereo_pitch_shift_impl.cc synth_stereo_pitch_shift_fft_impl.cc
+ synth_voice_removal_impl.cc voiceremovalguifactory_impl.cc
+ synth_stereo_compressor_impl.cc stereocompressorguifactory_impl.cc
+ synth_stereo_fir_equalizer_impl.cc
+ synth_freeverb_impl.cc freeverbguifactory_impl.cc
+ effect_wavecapture_impl.cc
+ kstereovolumecontrolgui_impl.cpp stereovolumecontrolguifactory_impl.cpp
+ VERSION 0.0.0
+ EMBED
+ freeverb-static
+ LINK
+ artsgui_idl-shared artsgui_kde-shared
+ artsmodulescommon-shared
+ mcop artsflow artsflow_idl ${ARTS_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+add_custom_command(
+ OUTPUT
+ artsmoduleseffects.cc artsmoduleseffects.h
+ artsmoduleseffects.mcopclass artsmoduleseffects.mcoptype
+ COMMAND ${ARTS_MCOPIDL_EXECUTABLE} -t
+ -I${CMAKE_SOURCE_DIR}/arts/gui/common
+ -I${CMAKE_SOURCE_DIR}/arts/midi
+ -I${CMAKE_SOURCE_DIR}/arts/modules/common
+ -I${CMAKE_SOURCE_DIR}/arts/modules/synth
+ -I${ARTS_INCLUDEDIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/artsmoduleseffects.idl
+ DEPENDS artsmoduleseffects.idl
+)
+
+
+##### other data ################################
+
+install(
+ FILES
+ artsmoduleseffects.idl
+ ${CMAKE_CURRENT_BINARY_DIR}/artsmoduleseffects.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/arts
+)
+
+install(
+ FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/artsmoduleseffects.mcoptype
+ ${CMAKE_CURRENT_BINARY_DIR}/artsmoduleseffects.mcopclass
+ DESTINATION ${LIB_INSTALL_DIR}/mcop
+)
diff --git a/arts/modules/effects/freeverb/CMakeLists.txt b/arts/modules/effects/freeverb/CMakeLists.txt
new file mode 100644
index 00000000..a634252d
--- /dev/null
+++ b/arts/modules/effects/freeverb/CMakeLists.txt
@@ -0,0 +1,34 @@
+#################################################
+#
+# (C) 2017 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/arts/gui/common
+ ${CMAKE_BINARY_DIR}/arts/midi
+ ${CMAKE_BINARY_DIR}/arts/modules
+ ${CMAKE_BINARY_DIR}/arts/runtime
+ ${CMAKE_BINARY_DIR}
+ ${ARTS_INCLUDE_DIRS}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${ARTS_LIBRARY_DIRS}
+)
+
+
+##### freeverb (library) ########################
+
+tde_add_library( freeverb STATIC_PIC
+ SOURCES allpass.cpp comb.cpp revmodel.cpp
+)
diff --git a/arts/modules/effects/mcopclass/CMakeLists.txt b/arts/modules/effects/mcopclass/CMakeLists.txt
new file mode 100644
index 00000000..17a2162a
--- /dev/null
+++ b/arts/modules/effects/mcopclass/CMakeLists.txt
@@ -0,0 +1,34 @@
+#################################################
+#
+# (C) 2017 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install(
+ FILES
+ FiveBandMonoComplexEQ.mcopclass
+ FiveBandMonoComplexEQGuiFactory.mcopclass
+ MonoToStereo.mcopclass
+ StereoToMono.mcopclass
+ StereoBalance.mcopclass
+ StereoBalanceGuiFactory.mcopclass
+ Synth_VOICE_REMOVAL.mcopclass
+ VoiceRemovalGuiFactory.mcopclass
+ Synth_STEREO_COMPRESSOR.mcopclass
+ StereoCompressorGuiFactory.mcopclass
+ Synth_STEREO_PITCH_SHIFT.mcopclass
+ Synth_STEREO_PITCH_SHIFT_FFT.mcopclass
+ Synth_STEREO_FIR_EQUALIZER.mcopclass
+ StereoFirEqualizerGuiFactory.mcopclass
+ Synth_FREEVERB.mcopclass
+ FreeverbGuiFactory.mcopclass
+ Effect_WAVECAPTURE.mcopclass
+ StereoVolumeControlGui.mcopclass
+ StereoVolumeControlGuiFactory.mcopclass
+ DESTINATION ${LIB_INSTALL_DIR}/mcop/Arts
+)
diff --git a/arts/modules/mixers/CMakeLists.txt b/arts/modules/mixers/CMakeLists.txt
new file mode 100644
index 00000000..98e7147d
--- /dev/null
+++ b/arts/modules/mixers/CMakeLists.txt
@@ -0,0 +1,81 @@
+#################################################
+#
+# (C) 2017 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( mcopclass )
+
+include_directories(
+ ${CMAKE_SOURCE_DIR}/arts/modules
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/arts/gui/common
+ ${CMAKE_BINARY_DIR}/arts/midi
+ ${CMAKE_BINARY_DIR}/arts/modules
+ ${CMAKE_BINARY_DIR}/arts/modules/common
+ ${CMAKE_BINARY_DIR}/arts/modules/effects
+ ${CMAKE_BINARY_DIR}/arts/modules/synth
+ ${CMAKE_BINARY_DIR}/arts/runtime
+ ${CMAKE_BINARY_DIR}
+ ${ARTS_INCLUDE_DIRS}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${ARTS_LIBRARY_DIRS}
+)
+
+
+##### artsmodulesmixers (library) ###############
+
+tde_add_library( artsmodulesmixers SHARED
+ SOURCES
+ artsmodulesmixers.cc
+ monosimplemixerchannel_impl.cc monosimplemixerchannelguifactory_impl.cc
+ simplemixerchannel_impl.cc simplemixerchannelguifactory_impl.cc
+ littlestereomixerchannel_impl.cc
+ VERSION 0.0.0
+ LINK
+ artsgui_idl-shared artsmodulescommon-shared artsmoduleseffects-shared
+ mcop artsflow artsflow_idl ${ARTS_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+add_custom_command(
+ OUTPUT
+ artsmodulesmixers.cc artsmodulesmixers.h
+ artsmodulesmixers.mcopclass artsmodulesmixers.mcoptype
+ COMMAND ${ARTS_MCOPIDL_EXECUTABLE} -t
+ -I${CMAKE_SOURCE_DIR}/arts/gui/common
+ -I${CMAKE_SOURCE_DIR}/arts/midi
+ -I${CMAKE_SOURCE_DIR}/arts/modules
+ -I${CMAKE_SOURCE_DIR}/arts/modules/common
+ -I${CMAKE_SOURCE_DIR}/arts/modules/synth
+ -I${ARTS_INCLUDEDIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/artsmodulesmixers.idl
+ DEPENDS artsmodulesmixers.idl
+)
+
+
+##### other data ################################
+
+install(
+ FILES
+ artsmodulesmixers.idl
+ ${CMAKE_CURRENT_BINARY_DIR}/artsmodulesmixers.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/arts
+)
+
+install(
+ FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/artsmodulesmixers.mcoptype
+ ${CMAKE_CURRENT_BINARY_DIR}/artsmodulesmixers.mcopclass
+ DESTINATION ${LIB_INSTALL_DIR}/mcop
+)
diff --git a/arts/modules/mixers/mcopclass/CMakeLists.txt b/arts/modules/mixers/mcopclass/CMakeLists.txt
new file mode 100644
index 00000000..c78af5a9
--- /dev/null
+++ b/arts/modules/mixers/mcopclass/CMakeLists.txt
@@ -0,0 +1,21 @@
+#################################################
+#
+# (C) 2017 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install(
+ FILES
+ MonoSimpleMixerChannel.mcopclass
+ MonoSimpleMixerChannelGuiFactory.mcopclass
+ SimpleMixerChannel.mcopclass
+ SimpleMixerChannelGuiFactory.mcopclass
+ LittleStereoMixerChannel.mcopclass
+ LittleStereoMixerChannelGuiFactory.mcopclass
+ DESTINATION ${LIB_INSTALL_DIR}/mcop/Arts
+)
diff --git a/arts/modules/synth/CMakeLists.txt b/arts/modules/synth/CMakeLists.txt
new file mode 100644
index 00000000..4362aaa7
--- /dev/null
+++ b/arts/modules/synth/CMakeLists.txt
@@ -0,0 +1,85 @@
+#################################################
+#
+# (C) 2017 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+add_subdirectory( mcopclass )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/arts/gui/common
+ ${CMAKE_BINARY_DIR}/arts/midi
+ ${CMAKE_BINARY_DIR}/arts/modules
+ ${CMAKE_BINARY_DIR}/arts/runtime
+ ${CMAKE_BINARY_DIR}
+ ${ARTS_INCLUDE_DIRS}
+ ${GLIB2_INCLUDE_DIRS}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${ARTS_LIBRARY_DIRS}
+)
+
+
+##### artsmoudlessynth (library) ################
+
+tde_add_library( artsmodulessynth SHARED
+ SOURCES
+ artsmodulessynth.cc
+ synth_xfade_impl.cc synth_autopanner_impl.cc synth_delay_impl.cc
+ synth_cdelay_impl.cc synth_envelope_adsr_impl.cc synth_pscale_impl.cc
+ synth_tremolo_impl.cc synth_fx_cflanger_impl.cc synth_compressor_impl.cc
+ synth_pitch_shift_impl.cc synth_pitch_shift_fft_impl.cc c_filter_stuff.c
+ synth_shelve_cutoff_impl.cc synth_brickwall_limiter_impl.cc
+ synth_std_equalizer_impl.cc synth_rc_impl.cc synth_moog_vcf_impl.cc
+ synth_atan_saturate_impl.cc synth_fm_source_impl.cc
+ synth_wave_tri_impl.cc synth_noise_impl.cc synth_wave_softsaw_impl.cc
+ synth_wave_square_impl.cc synth_wave_pulse_impl.cc synth_osc_impl.cc
+ synth_play_pat_impl.cc synth_capture_wav_impl.cc
+ synth_midi_test_impl.cc synth_sequence_impl.cc synth_sequence_freq_impl.cc
+ synth_midi_debug_impl.cc objectcache_impl.cc synth_nil_impl.cc
+ synth_debug_impl.cc synth_data_impl.cc synth_div_impl.cc
+ VERSION 0.0.0
+ LINK
+ artsbuilder-shared artsmidi_idl-shared
+ mcop artsflow artsflow_idl artsgsl ${ARTS_LIBRARIES} ${GLIB2_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+add_custom_command(
+ OUTPUT
+ artsmodulessynth.cc artsmodulessynth.h
+ artsmodulessynth.mcopclass artsmodulessynth.mcoptype
+ COMMAND ${ARTS_MCOPIDL_EXECUTABLE} -t
+ -I${CMAKE_SOURCE_DIR}/arts/gui/common
+ -I${CMAKE_SOURCE_DIR}/arts/midi
+ -I${ARTS_INCLUDEDIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/artsmodulessynth.idl
+ DEPENDS artsmodulessynth.idl
+)
+
+
+##### other data ################################
+
+install(
+ FILES
+ artsmodulessynth.idl
+ ${CMAKE_CURRENT_BINARY_DIR}/artsmodulessynth.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/arts
+)
+
+install(
+ FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/artsmodulessynth.mcoptype
+ ${CMAKE_CURRENT_BINARY_DIR}/artsmodulessynth.mcopclass
+ DESTINATION ${LIB_INSTALL_DIR}/mcop
+)
diff --git a/arts/modules/synth/mcopclass/CMakeLists.txt b/arts/modules/synth/mcopclass/CMakeLists.txt
new file mode 100644
index 00000000..fdda9cca
--- /dev/null
+++ b/arts/modules/synth/mcopclass/CMakeLists.txt
@@ -0,0 +1,49 @@
+#################################################
+#
+# (C) 2017 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install(
+ FILES
+ Synth_XFADE.mcopclass
+ Synth_AUTOPANNER.mcopclass
+ Synth_DELAY.mcopclass
+ Synth_CDELAY.mcopclass
+ Synth_ENVELOPE_ADSR.mcopclass
+ Synth_PSCALE.mcopclass
+ Synth_TREMOLO.mcopclass
+ Synth_FX_CFLANGER.mcopclass
+ Synth_COMPRESSOR.mcopclass
+ Synth_PITCH_SHIFT.mcopclass
+ Synth_PITCH_SHIFT_FFT.mcopclass
+ Synth_SHELVE_CUTOFF.mcopclass
+ Synth_BRICKWALL_LIMITER.mcopclass
+ Synth_STD_EQUALIZER.mcopclass
+ Synth_RC.mcopclass
+ Synth_MOOG_VCF.mcopclass
+ Synth_ATAN_SATURATE.mcopclass
+ Synth_FM_SOURCE.mcopclass
+ Synth_WAVE_TRI.mcopclass
+ Synth_NOISE.mcopclass
+ Synth_WAVE_SOFTSAW.mcopclass
+ Synth_WAVE_SQUARE.mcopclass
+ Synth_WAVE_PULSE.mcopclass
+ Synth_OSC.mcopclass
+ Synth_PLAY_PAT.mcopclass
+ Synth_CAPTURE_WAV.mcopclass
+ Synth_DIV.mcopclass
+ Synth_MIDI_TEST.mcopclass
+ Synth_SEQUENCE.mcopclass
+ Synth_SEQUENCE_FREQ.mcopclass
+ Synth_MIDI_DEBUG.mcopclass
+ Synth_DATA.mcopclass
+ Synth_DEBUG.mcopclass
+ Synth_NIL.mcopclass
+ DESTINATION ${LIB_INSTALL_DIR}/mcop/Arts
+)