From 1a22301f46db807500b77119ae0132b9a3f876c5 Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Tue, 15 Oct 2013 16:26:13 +0200 Subject: Initial cmake conversion --- renamedlgplugins/CMakeLists.txt | 4 ++++ renamedlgplugins/audio/CMakeLists.txt | 38 ++++++++++++++++++++++++++++++++ renamedlgplugins/images/CMakeLists.txt | 29 ++++++++++++++++++++++++ renamedlgplugins/images/image_plugin.cpp | 1 - 4 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 renamedlgplugins/CMakeLists.txt create mode 100644 renamedlgplugins/audio/CMakeLists.txt create mode 100644 renamedlgplugins/images/CMakeLists.txt (limited to 'renamedlgplugins') diff --git a/renamedlgplugins/CMakeLists.txt b/renamedlgplugins/CMakeLists.txt new file mode 100644 index 0000000..83247e4 --- /dev/null +++ b/renamedlgplugins/CMakeLists.txt @@ -0,0 +1,4 @@ +# This file is genereted by triniy-automake-cmake-convert script by Fat-Zer + +add_subdirectory( images ) +add_subdirectory( audio ) diff --git a/renamedlgplugins/audio/CMakeLists.txt b/renamedlgplugins/audio/CMakeLists.txt new file mode 100644 index 0000000..9bbdc5a --- /dev/null +++ b/renamedlgplugins/audio/CMakeLists.txt @@ -0,0 +1,38 @@ +################################################# +# +# (C) 2013 Alexander Golubev +# fatzer2 (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### librenaudioplugin (kpart) ################# + +tde_add_kpart( librenaudioplugin AUTOMOC + SOURCES audiopreview.cpp audio_plugin.cpp + LINK tdeio-shared tdemediaplayer-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES renaudiodlg.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/renamedlgplugins/images/CMakeLists.txt b/renamedlgplugins/images/CMakeLists.txt new file mode 100644 index 0000000..22bf632 --- /dev/null +++ b/renamedlgplugins/images/CMakeLists.txt @@ -0,0 +1,29 @@ +# This file is genereted by triniy-automake-cmake-convert script by Fat-Zer + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### librenimageplugin (kpart) ################# + +tde_add_kpart( librenimageplugin AUTOMOC + SOURCES imagevisualizer.cpp image_plugin.cpp + LINK tdeio-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) + + +##### other data ################################ + +install( FILES renimagedlg.desktop + DESTINATION ${SERVICES_INSTALL_DIR} +) diff --git a/renamedlgplugins/images/image_plugin.cpp b/renamedlgplugins/images/image_plugin.cpp index 0cf908b..3f553e8 100644 --- a/renamedlgplugins/images/image_plugin.cpp +++ b/renamedlgplugins/images/image_plugin.cpp @@ -17,7 +17,6 @@ Boston, MA 02110-1301, USA. */ -//#include "image_plugin.moc" #include #include -- cgit v1.2.1