summaryrefslogtreecommitdiffstats
path: root/arts
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2017-03-26 15:58:46 +0200
committerSlávek Banko <slavek.banko@axis.cz>2017-03-26 15:58:46 +0200
commit8b12682035e2ae92a29a9ce12abc5fbcf38b1192 (patch)
tree1cc5c3fe9ef3b23557fc4e9e507fd0d23d007160 /arts
parent250d713ff809fa943f614459009d1160e269dcef (diff)
downloadtdemultimedia-8b12682035e2ae92a29a9ce12abc5fbcf38b1192.tar.gz
tdemultimedia-8b12682035e2ae92a29a9ce12abc5fbcf38b1192.zip
Initial cmake conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'arts')
-rw-r--r--arts/CMakeLists.txt18
-rw-r--r--arts/builder/CMakeLists.txt59
-rw-r--r--arts/builder/pics/CMakeLists.txt25
-rw-r--r--arts/examples/CMakeLists.txt83
-rw-r--r--arts/gui/CMakeLists.txt13
-rw-r--r--arts/gui/common/CMakeLists.txt70
-rw-r--r--arts/gui/kde/CMakeLists.txt74
-rw-r--r--arts/gui/kde/Makefile.am2
-rw-r--r--arts/gui/kde/artstestgui.cpp4
-rw-r--r--arts/gui/kde/mcopclass/CMakeLists.txt19
-rw-r--r--arts/midi/CMakeLists.txt89
-rw-r--r--arts/midi/mcopclass/CMakeLists.txt12
-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
-rw-r--r--arts/runtime/CMakeLists.txt74
-rw-r--r--arts/tools/CMakeLists.txt104
-rw-r--r--arts/tools/pics/CMakeLists.txt12
25 files changed, 1244 insertions, 3 deletions
diff --git a/arts/CMakeLists.txt b/arts/CMakeLists.txt
new file mode 100644
index 00000000..91bbae15
--- /dev/null
+++ b/arts/CMakeLists.txt
@@ -0,0 +1,18 @@
+#################################################
+#
+# (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( builder )
+add_subdirectory( examples )
+add_subdirectory( gui )
+add_subdirectory( midi )
+add_subdirectory( modules )
+add_subdirectory( runtime )
+add_subdirectory( tools )
diff --git a/arts/builder/CMakeLists.txt b/arts/builder/CMakeLists.txt
new file mode 100644
index 00000000..942cd3bf
--- /dev/null
+++ b/arts/builder/CMakeLists.txt
@@ -0,0 +1,59 @@
+#################################################
+#
+# (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( pics )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/arts/runtime
+ ${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}
+)
+
+
+##### artsbuilder (executable) ##################
+
+tde_add_executable( artsbuilder AUTOMOC
+ SOURCES
+ autorouter.cpp main.cpp propertypanelbase.ui
+ module.cpp propertypanel.cpp structure.cpp
+ retrievedlg.cpp createtool.cpp structureport.cpp
+ drawutils.cpp scomponent.cpp portposdlg.cpp
+ menumaker.cpp session.cpp dirmanager.cpp mwidget.cpp
+ execdlg.cpp qttableview.cpp interfacedlg.cpp
+ LINK
+ tdecore-shared tdeui-shared tdeio-shared artsbuilder-shared artskde-shared
+ mcop qtmcop artsflow_idl soundserver_idl
+ DEPENDENCIES
+ arts_builder_headers
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+add_custom_target(
+ arts_builder_headers
+ DEPENDS
+ ${CMAKE_CURRENT_BINARY_DIR}/propertypanelbase.h
+)
+
+
+##### other data ################################
+
+install( FILES artsbuilder.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES x-artsbuilder.desktop DESTINATION ${MIME_INSTALL_DIR}/application )
+install( FILES artsbuilderui.rc DESTINATION ${DATA_INSTALL_DIR}/artsbuilder )
diff --git a/arts/builder/pics/CMakeLists.txt b/arts/builder/pics/CMakeLists.txt
new file mode 100644
index 00000000..c0467a7d
--- /dev/null
+++ b/arts/builder/pics/CMakeLists.txt
@@ -0,0 +1,25 @@
+#################################################
+#
+# (C) 2017 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( artsbuilder )
+tde_install_icons( action-artsbuilderexecute )
+
+install(
+ FILES
+ Synth_ADD.xpm Synth_ATAN_SATURATE.xpm Synth_BUS_DOWNLINK.xpm
+ Synth_BUS_UPLINK.xpm Synth_DEBUG.xpm Synth_ENVELOPE_ADSR.xpm
+ Synth_FILEPLAY.xpm Synth_MIDI_DEBUG.xpm Synth_MUL.xpm Synth_PLAY.xpm
+ Synth_PLAY_WAV.xpm Synth_PSCALE.xpm Synth_SEQUENCE.xpm Synth_WAVE_SAW.xpm
+ Synth_WAVE_SIN.xpm Synth_WAVE_SQUARE.xpm Synth_WAVE_TRI.xpm Synth_XFADE.xpm
+ Synth_MOOG_VCF.xpm Synth_RC.xpm Synth_SHELVE_CUTOFF.xpm Synth_MULTI_ADD.xpm
+ Synth_AMAN_PLAY.xpm Synth_SEQUENCE_FREQ.png Synth_DIV.xpm
+ DESTINATION ${DATA_INSTALL_DIR}/artsbuilder/pics
+)
diff --git a/arts/examples/CMakeLists.txt b/arts/examples/CMakeLists.txt
new file mode 100644
index 00000000..6ec25997
--- /dev/null
+++ b/arts/examples/CMakeLists.txt
@@ -0,0 +1,83 @@
+#################################################
+#
+# (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
+ README
+ example_adsr.arts
+ example_atan_saturate.arts
+ example_autopanner.arts
+ example_brickwall.arts
+ example_bus.arts
+ example_capture_wav.arts
+ example_cdelay.arts
+ example_cflanger.arts
+ example_data.arts
+ example_delay.arts
+ example_dtmf1.arts
+ example_equalizer.arts
+ example_fm.arts
+ example_freeverb.arts
+ example_moog.arts
+ example_multi_add.arts
+ example_noise.arts
+ example_pitchshift.arts
+ example_play_wave.arts
+ example_pscale.arts
+ example_pulse.arts
+ example_rc.arts
+ example_record.arts
+ example_sequence.arts
+ example_shelve_cutoff.arts
+ example_sine.arts
+ example_softsaw.arts
+ example_square.arts
+ example_stereobeep.arts
+ example_tremolo.arts
+ example_tri.arts
+ example_xfade.arts
+ instrument_full_square.arts
+ instrument_hihat.arts
+ instrument_neworgan.arts
+ instrument_nokind.arts
+ instrument_organ2.arts
+ instrument_simple_sin.arts
+ instrument_simple_square.arts
+ instrument_simple_tri.arts
+ instrument_slide.arts
+ instrument_slide1.arts
+ instrument_square.arts
+ instrument_tri.arts
+ template_Empty_Structure.arts
+ template_Instrument.arts
+ instrument_arts_all.arts-map
+ instrument_chirpdrum.arts
+ instrument_deepdrum.arts
+ DESTINATION ${DATA_INSTALL_DIR}/artsbuilder/examples
+)
+
+install(
+ FILES
+ instrument_flexible_slide.arts
+ instrument_flexible_slide_GUI.arts
+ instrument_moog_vcf_tune.arts
+ instrument_moog_vcf_tune_GUI.arts
+ instrument_fm_horn.arts
+ effect_delay.arts
+ effect_delay_alone.arts
+ effect_flanger_alone.arts
+ mixer_element_simple.arts
+ mixer_element_eq.arts
+ mixer_element_eqfx.arts
+ template_Instrument_GUI.arts
+ template_Mixer_Element.arts
+ DESTINATION ${DATA_INSTALL_DIR}/artsbuilder/examples/todo
+)
diff --git a/arts/gui/CMakeLists.txt b/arts/gui/CMakeLists.txt
new file mode 100644
index 00000000..8be415ea
--- /dev/null
+++ b/arts/gui/CMakeLists.txt
@@ -0,0 +1,13 @@
+#################################################
+#
+# (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( kde )
diff --git a/arts/gui/common/CMakeLists.txt b/arts/gui/common/CMakeLists.txt
new file mode 100644
index 00000000..6fa63e44
--- /dev/null
+++ b/arts/gui/common/CMakeLists.txt
@@ -0,0 +1,70 @@
+#################################################
+#
+# (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/runtime
+ ${CMAKE_BINARY_DIR}
+ ${ARTS_INCLUDE_DIRS}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${ARTS_LIBRARY_DIRS}
+)
+
+
+##### artsgui (library) #########################
+
+tde_add_library( artsgui_idl SHARED
+ SOURCES artsgui.cc
+ VERSION 0.0.0
+ LINK mcop ${DL_LIBRARIES} ${ARTS_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+tde_add_library( artsgui SHARED
+ SOURCES genericguifactory_impl.cc
+ VERSION 0.0.0
+ LINK artsgui_idl-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+add_custom_command(
+ OUTPUT
+ artsgui.cc artsgui.h
+ artsgui.mcoptype artsgui.mcopclass
+ COMMAND ${ARTS_MCOPIDL_EXECUTABLE} -t
+ -I${ARTS_INCLUDEDIR} ${CMAKE_CURRENT_SOURCE_DIR}/artsgui.idl
+ DEPENDS artsgui.idl
+)
+
+
+##### other data ################################
+
+install(
+ FILES
+ artsgui.idl
+ ${CMAKE_CURRENT_BINARY_DIR}/artsgui.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/arts
+)
+install(
+ FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/artsgui.mcoptype
+ ${CMAKE_CURRENT_BINARY_DIR}/artsgui.mcopclass
+ DESTINATION ${LIB_INSTALL_DIR}/mcop
+)
+install(
+ FILES GenericGuiFactory.mcopclass
+ DESTINATION ${LIB_INSTALL_DIR}/mcop/Arts
+)
diff --git a/arts/gui/kde/CMakeLists.txt b/arts/gui/kde/CMakeLists.txt
new file mode 100644
index 00000000..fec23fc2
--- /dev/null
+++ b/arts/gui/kde/CMakeLists.txt
@@ -0,0 +1,74 @@
+#################################################
+#
+# (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_SOURCE_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}/arts/runtime
+ ${CMAKE_BINARY_DIR}/arts/gui/common
+ ${CMAKE_BINARY_DIR}
+ ${ARTS_INCLUDE_DIRS}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${ARTS_LIBRARY_DIRS}
+)
+
+
+##### artsgui_kde (library) #####################
+
+tde_add_library( artsgui_kde SHARED AUTOMOC
+ SOURCES
+ kwidget_impl.cpp kbutton_impl.cpp
+ kpoti_impl.cpp kpoti.cpp kwidgetrepo.cpp kartswidget.cpp
+ klineedit_impl.cpp khbox_impl.cpp kvbox_impl.cpp kspinbox_impl.cpp
+ kcombobox_impl.cpp kfader.cpp kfader_impl.cpp kgraph_impl.cpp kgraph.cpp
+ kgraphline_impl.cpp kframe_impl.cpp klayoutbox_impl.cpp tdepopupbox_impl.cpp
+ klevelmeter_impl.cpp klevelmeter_small.cpp klevelmeter_linebars.cpp
+ klevelmeter_normalbars.cpp klevelmeter_firebars.cpp
+ ktickmarks_impl.cpp kvolumefader_impl.cpp klabel_impl.cpp
+ VERSION 0.0.0
+ LINK
+ tdecore-shared tdeio-shared tdeui-shared tdefx-shared artsgui_idl-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### artsgui (check program) ###################
+
+tde_add_check_executable( artstestgui
+ SOURCES
+ artstestgui.cpp
+ LINK
+ tdecore-shared tdeio-shared tdeui-shared tdefx-shared
+ qtmcop artsflow artsgui_idl-shared
+)
+
+tde_add_check_executable( dbtest AUTOMOC
+ SOURCES
+ dbtest.cpp
+ LINK
+ tdecore-shared tdeio-shared tdeui-shared artsgui_kde-shared
+)
+
+
+##### other data ################################
+
+install(
+ FILES
+ kartswidget.h kframe_impl.h kwidget_impl.h kwidgetrepo.h klayoutbox_impl.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/arts
+)
diff --git a/arts/gui/kde/Makefile.am b/arts/gui/kde/Makefile.am
index 33b8f582..440af44f 100644
--- a/arts/gui/kde/Makefile.am
+++ b/arts/gui/kde/Makefile.am
@@ -21,7 +21,7 @@ libartsgui_kde_la_LDFLAGS = $(all_libraries) -no-undefined
libartsgui_kde_la_COMPILE_FIRST = ../common/artsgui.h
artstestgui_SOURCES = artstestgui.cpp
-artstestgui_LDADD = -lqtmcop -ltdecore -lartsflow \
+artstestgui_LDADD = -lmcop -lqtmcop -ltdecore -lartsflow \
$(top_builddir)/arts/gui/common/libartsgui_idl.la
artstestgui_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
diff --git a/arts/gui/kde/artstestgui.cpp b/arts/gui/kde/artstestgui.cpp
index 5c3613d7..5f558a26 100644
--- a/arts/gui/kde/artstestgui.cpp
+++ b/arts/gui/kde/artstestgui.cpp
@@ -31,9 +31,9 @@ using namespace Arts;
int main(int argc, char **argv)
{
- TQIOManager iomanager;
+ QIOManager iomanager;
Dispatcher dispatcher(&iomanager);
- TDEApplication application(argc, argv, "testgui");
+ TDEApplication application(argc, argv, "testgui", true);
ObjectManager::the()->provideCapability("kdegui");
diff --git a/arts/gui/kde/mcopclass/CMakeLists.txt b/arts/gui/kde/mcopclass/CMakeLists.txt
new file mode 100644
index 00000000..56985bb5
--- /dev/null
+++ b/arts/gui/kde/mcopclass/CMakeLists.txt
@@ -0,0 +1,19 @@
+#################################################
+#
+# (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
+ Widget.mcopclass Button.mcopclass Poti.mcopclass
+ LineEdit.mcopclass HBox.mcopclass VBox.mcopclass SpinBox.mcopclass
+ Fader.mcopclass GraphLine.mcopclass LayoutBox.mcopclass
+ PopupBox.mcopclass LevelMeter.mcopclass Label.mcopclass
+ DESTINATION ${LIB_INSTALL_DIR}/mcop/Arts
+)
diff --git a/arts/midi/CMakeLists.txt b/arts/midi/CMakeLists.txt
new file mode 100644
index 00000000..0b91a9fe
--- /dev/null
+++ b/arts/midi/CMakeLists.txt
@@ -0,0 +1,89 @@
+#################################################
+#
+# (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/runtime
+ ${CMAKE_BINARY_DIR}
+ ${ARTS_INCLUDE_DIRS}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${ARTS_LIBRARY_DIRS}
+)
+
+
+##### artsmidi (library) ########################
+
+tde_add_library( artsmidi_idl SHARED
+ SOURCES artsmidi.cc
+ VERSION 0.0.0
+ LINK ${ARTS_LIBRARIES} ${GLIB2_LIBRARIES} ${GTHREAD2_LIBRARIES} mcop artsflow artsflow_idl
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+tde_add_library( artsmidi SHARED
+ SOURCES
+ midimanager_impl.cc midiclient_impl.cc
+ miditest_impl.cc midimanagerport_impl.cc rawmidiport_impl.cc
+ systemmiditimer_impl.cc audiomiditimer_impl.cc miditimercommon.cc
+ audiosync_impl.cc audiotimer.cc alsamidigateway_impl.cc
+ alsamidiport_impl.cc midisyncgroup_impl.cc timestampmath.cc
+ VERSION 0.0.0
+ LINK
+ artsmidi_idl-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+add_custom_command(
+ OUTPUT
+ artsmidi.cc artsmidi.h
+ artsmidi.mcopclass artsmidi.mcoptype
+ COMMAND ${ARTS_MCOPIDL_EXECUTABLE} -t
+ -I${ARTS_INCLUDEDIR} ${CMAKE_CURRENT_SOURCE_DIR}/artsmidi.idl
+ DEPENDS artsmidi.idl
+)
+
+
+##### midisend (executable) #####################
+
+tde_add_executable( midisend
+ SOURCES midisend.cc midimsg.c
+ LINK artsmidi_idl-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+tde_add_check_executable( midisynctest
+ SOURCES midisynctest.cc
+ LINK artsmidi-shared soundserver_idl
+)
+
+
+##### other data ################################
+
+install(
+ FILES
+ artsmidi.idl
+ ${CMAKE_CURRENT_BINARY_DIR}/artsmidi.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/arts
+)
+
+install(
+ FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/artsmidi.mcoptype
+ ${CMAKE_CURRENT_BINARY_DIR}/artsmidi.mcopclass
+ DESTINATION ${LIB_INSTALL_DIR}/mcop
+)
diff --git a/arts/midi/mcopclass/CMakeLists.txt b/arts/midi/mcopclass/CMakeLists.txt
new file mode 100644
index 00000000..e7e3c319
--- /dev/null
+++ b/arts/midi/mcopclass/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (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 MidiManager.mcopclass DESTINATION ${LIB_INSTALL_DIR}/mcop/Arts )
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
+)
diff --git a/arts/runtime/CMakeLists.txt b/arts/runtime/CMakeLists.txt
new file mode 100644
index 00000000..794ec7f5
--- /dev/null
+++ b/arts/runtime/CMakeLists.txt
@@ -0,0 +1,74 @@
+#################################################
+#
+# (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_INCLUDE_DIRS}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${ARTS_LIBRARY_DIRS}
+)
+
+add_definitions(
+ -DEXAMPLES_DIR="${DATA_INSTALL_DIR}/artsbuilder/examples"
+)
+
+
+##### artsbuilder (library) #####################
+
+tde_add_library( artsbuilder SHARED
+ SOURCES
+ artsbuilder.cc sequenceutils.cc
+ structurebuilder_impl.cc structures_impl.cc moduleinfo.cc
+ compatibility.cc localfactory_impl.cc artsbuilderloader_impl.cc
+ VERSION 0.0.0
+ LINK
+ mcop artsflow artsflow_idl ${DL_LIBRARIES} ${ARTS_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+add_custom_command(
+ OUTPUT
+ artsbuilder.cc artsbuilder.h
+ artsbuilder.mcoptype artsbuilder.mcopclass
+ COMMAND ${ARTS_MCOPIDL_EXECUTABLE} -t
+ -I${ARTS_INCLUDEDIR} ${CMAKE_CURRENT_SOURCE_DIR}/artsbuilder.idl
+ DEPENDS artsbuilder.idl
+)
+
+
+##### other data ################################
+
+install(
+ FILES
+ artsbuilder.idl
+ ${CMAKE_CURRENT_BINARY_DIR}/artsbuilder.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/arts
+)
+
+install(
+ FILES
+ ${CMAKE_CURRENT_BINARY_DIR}/artsbuilder.mcoptype
+ ${CMAKE_CURRENT_BINARY_DIR}/artsbuilder.mcopclass
+ DESTINATION ${LIB_INSTALL_DIR}/mcop
+)
+
+install(
+ FILES
+ StructureBuilder.mcopclass StructureDesc.mcopclass
+ LocalFactory.mcopclass ArtsBuilderLoader.mcopclass
+ DESTINATION ${LIB_INSTALL_DIR}/mcop/Arts
+)
diff --git a/arts/tools/CMakeLists.txt b/arts/tools/CMakeLists.txt
new file mode 100644
index 00000000..f91430b9
--- /dev/null
+++ b/arts/tools/CMakeLists.txt
@@ -0,0 +1,104 @@
+#################################################
+#
+# (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( pics )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/arts/gui/kde
+ ${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_INCLUDE_DIRS}
+ ${TQT_INCLUDE_DIRS}
+ ${TDE_INCLUDE_DIR}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+ ${ARTS_LIBRARY_DIRS}
+)
+
+
+##### artscontrolsupport (library) ##############
+
+tde_add_library( artscontrolsupport SHARED AUTOMOC
+ SOURCES
+ templateview.cpp artsactions.cpp
+ audiomanager.cpp choosebusdlg.cpp
+ midimanagerview.cpp midimanagerdlg.ui midimanagerwidget.ui
+ midiportdlg.cpp midiinstdlg.cpp environmentview.cpp
+ fftscopeview.cpp mediatypesview.cpp statusview.cpp
+ VERSION 1.0.0
+ LINK
+ DCOP-shared tdecore-shared tdeui-shared artskde-shared
+ mcop qtmcop artsflow artsflow_idl soundserver_idl
+ artsgui_idl-shared artsgui_kde-shared artsmodules-shared
+ artsmoduleseffects-shared artsmodulessynth-shared artsmodulescommon-shared
+ artsmidi-shared artsmidi_idl-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### artscontrolapplet (library) ###############
+
+tde_add_library( artscontrolapplet SHARED AUTOMOC
+ SOURCES artscontrolapplet.cpp
+ VERSION 1.0.0
+ LINK
+ DCOP-shared tdecore-shared tdeui-shared artskde-shared
+ mcop qtmcop artsflow artsflow_idl soundserver_idl
+ artsgui_idl-shared artsgui_kde-shared
+ artsmoduleseffects-shared artsmodulessynth-shared artsmodulescommon-shared
+ artsmidi-shared artsmidi_idl-shared
+ artscontrolsupport-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### artscontrol (executable) ##################
+
+tde_add_executable( artscontrol AUTOMOC
+ SOURCES
+ main.cpp levelmeters.cpp
+ LINK
+ DCOP-shared tdecore-shared tdeui-shared tdeio-shared artskde-shared
+ mcop qtmcop artsflow artsflow_idl soundserver_idl
+ artsgui_idl-shared artsgui_kde-shared
+ artsmoduleseffects-shared artsmodulessynth-shared artsmodulescommon-shared
+ artsmidi-shared artsmidi_idl-shared
+ artscontrolsupport-shared
+ DEPENDENCIES arts_builder_headers
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### other data ################################
+
+install(
+ FILES artscontrol.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR}
+)
+
+install(
+ FILES artscontrolapplet.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/kicker/applets
+)
+
+install(
+ FILES artscontrol.rc artsmidimanagerview.rc
+ DESTINATION ${DATA_INSTALL_DIR}/artscontrol
+)
diff --git a/arts/tools/pics/CMakeLists.txt b/arts/tools/pics/CMakeLists.txt
new file mode 100644
index 00000000..76b06133
--- /dev/null
+++ b/arts/tools/pics/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2017 Slávek Banko
+# slavek (DOT) banko (AT) axis.cz
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( )