diff options
author | Alexander Golubev <fatzer2@gmail.com> | 2013-10-15 16:26:13 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-10-15 16:26:13 +0200 |
commit | 1a22301f46db807500b77119ae0132b9a3f876c5 (patch) | |
tree | ebf70d60bf7341685d1c4f6eb945e8d36baab9b2 /renamedlgplugins | |
parent | 6d9f2a4901eda474254a5d62a8c3701c2067ea58 (diff) | |
download | tdeaddons-1a22301f46db807500b77119ae0132b9a3f876c5.tar.gz tdeaddons-1a22301f46db807500b77119ae0132b9a3f876c5.zip |
Initial cmake conversion
Diffstat (limited to 'renamedlgplugins')
-rw-r--r-- | renamedlgplugins/CMakeLists.txt | 4 | ||||
-rw-r--r-- | renamedlgplugins/audio/CMakeLists.txt | 38 | ||||
-rw-r--r-- | renamedlgplugins/images/CMakeLists.txt | 29 | ||||
-rw-r--r-- | renamedlgplugins/images/image_plugin.cpp | 1 |
4 files changed, 71 insertions, 1 deletions
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 <kdebug.h> #include <kgenericfactory.h> |