summaryrefslogtreecommitdiffstats
path: root/arts/builder
diff options
context:
space:
mode:
Diffstat (limited to 'arts/builder')
-rw-r--r--arts/builder/CMakeLists.txt59
-rw-r--r--arts/builder/pics/CMakeLists.txt25
2 files changed, 84 insertions, 0 deletions
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
+)