diff options
Diffstat (limited to 'kview/modules')
-rw-r--r-- | kview/modules/CMakeLists.txt | 15 | ||||
-rw-r--r-- | kview/modules/browser/CMakeLists.txt | 38 | ||||
-rw-r--r-- | kview/modules/effects/CMakeLists.txt | 37 | ||||
-rw-r--r-- | kview/modules/presenter/CMakeLists.txt | 41 | ||||
-rw-r--r-- | kview/modules/presenter/config/CMakeLists.txt | 36 | ||||
-rw-r--r-- | kview/modules/scanner/CMakeLists.txt | 37 |
6 files changed, 204 insertions, 0 deletions
diff --git a/kview/modules/CMakeLists.txt b/kview/modules/CMakeLists.txt new file mode 100644 index 00000000..abc160c8 --- /dev/null +++ b/kview/modules/CMakeLists.txt @@ -0,0 +1,15 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( scanner ) +add_subdirectory( presenter ) +add_subdirectory( browser ) +add_subdirectory( effects ) diff --git a/kview/modules/browser/CMakeLists.txt b/kview/modules/browser/CMakeLists.txt new file mode 100644 index 00000000..92be6333 --- /dev/null +++ b/kview/modules/browser/CMakeLists.txt @@ -0,0 +1,38 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/kview + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + kviewbrowser.desktop kviewbrowser.rc + DESTINATION ${DATA_INSTALL_DIR}/kviewviewer/kpartplugins ) + + +##### kview_browserplugin (module) ############## + +tde_add_kpart( kview_browserplugin AUTOMOC + SOURCES + kmyfileitemlist.cpp kviewbrowser.cpp + LINK kparts-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kview/modules/effects/CMakeLists.txt b/kview/modules/effects/CMakeLists.txt new file mode 100644 index 00000000..1ae9d4b6 --- /dev/null +++ b/kview/modules/effects/CMakeLists.txt @@ -0,0 +1,37 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/kview + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + kvieweffects.desktop kvieweffects.rc + DESTINATION ${DATA_INSTALL_DIR}/kview/kpartplugins ) + + +##### kview_effectsplugin (module) ############## + +tde_add_kpart( kview_effectsplugin AUTOMOC + SOURCES kvieweffects.cpp + LINK kparts-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kview/modules/presenter/CMakeLists.txt b/kview/modules/presenter/CMakeLists.txt new file mode 100644 index 00000000..df85ed6c --- /dev/null +++ b/kview/modules/presenter/CMakeLists.txt @@ -0,0 +1,41 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( config ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/kview + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + kviewpresenter.desktop kviewpresenter.rc + DESTINATION ${DATA_INSTALL_DIR}/kview/kpartplugins ) + + +##### kview_presenterplugin (module) ############ + +tde_add_kpart( kview_presenterplugin AUTOMOC + SOURCES + imagelistitem.cpp imagelistdialog.ui kviewpresenter.cpp + LINK kio-shared kparts-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kview/modules/presenter/config/CMakeLists.txt b/kview/modules/presenter/config/CMakeLists.txt new file mode 100644 index 00000000..28bb691f --- /dev/null +++ b/kview/modules/presenter/config/CMakeLists.txt @@ -0,0 +1,36 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + kviewpresenterconfig.desktop + DESTINATION ${SERVICES_INSTALL_DIR}/kconfiguredialog ) + + +##### kcm_kviewpresenterconfig (module) ######### + +tde_add_kpart( kcm_kviewpresenterconfig AUTOMOC + SOURCES kviewpresenterconfig.cpp + LINK kutils-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/kview/modules/scanner/CMakeLists.txt b/kview/modules/scanner/CMakeLists.txt new file mode 100644 index 00000000..aa2f0c8d --- /dev/null +++ b/kview/modules/scanner/CMakeLists.txt @@ -0,0 +1,37 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/kview + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES + kviewscanner.desktop kviewscanner.rc + DESTINATION ${DATA_INSTALL_DIR}/kview/kpartplugins ) + + +##### kview_scannerplugin (module) ############## + +tde_add_kpart( kview_scannerplugin AUTOMOC + SOURCES kviewscanner.cpp + LINK kparts-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) |