summaryrefslogtreecommitdiffstats
path: root/kviewshell/CMakeLists.txt
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-06 22:03:48 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-06 22:03:48 +0000
commit0f962a277e58ccb2c6d9ee36ce68966db9b071cc (patch)
treee5341e2fcac3338daf25796bc20ae8c16307673e /kviewshell/CMakeLists.txt
parent19158a8de8416c95f7c961e107c475dd786f6449 (diff)
downloadtdegraphics-0f962a277e58ccb2c6d9ee36ce68966db9b071cc.tar.gz
tdegraphics-0f962a277e58ccb2c6d9ee36ce68966db9b071cc.zip
[kdegraphics] cmake support for kamera, kcoloredit, and kviewshell
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1230743 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kviewshell/CMakeLists.txt')
-rw-r--r--kviewshell/CMakeLists.txt110
1 files changed, 110 insertions, 0 deletions
diff --git a/kviewshell/CMakeLists.txt b/kviewshell/CMakeLists.txt
new file mode 100644
index 00000000..7361af84
--- /dev/null
+++ b/kviewshell/CMakeLists.txt
@@ -0,0 +1,110 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+project( kviewshell )
+
+add_subdirectory( pics )
+add_subdirectory( plugins )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ kmultipageInterface.h
+ DESTINATION ${INCLUDE_INSTALL_DIR} )
+
+install( FILES
+ anchor.h bookmark.h pageView.h documentPageCache.h
+ documentRenderer.h documentWidget.h history.h hyperlink.h
+ kmultipage.h length.h pageNumber.h pageSize.h renderedDocumentPage.h
+ renderedDocumentPagePixmap.h renderedDocumentPagePrinter.h
+ selection.h simplePageSize.h textBox.h zoom.h zoomlimits.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kviewshell )
+
+
+##### other data ################################
+
+install( FILES kviewshell.rc DESTINATION ${DATA_INSTALL_DIR}/kviewshell )
+install( FILES kviewerpart.rc DESTINATION ${DATA_INSTALL_DIR}/kviewerpart )
+install( FILES kmultipage.desktop DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+install( FILES emptymultipage.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
+install( FILES kviewshell.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+
+
+##### ifaces (static) ###########################
+
+tde_add_library( ifaces STATIC_PIC AUTOMOC
+ SOURCES
+ kviewpart_iface.cpp
+)
+
+
+##### kviewshell (static) #######################
+
+tde_add_library( kviewshell STATIC_PIC AUTOMOC
+ SOURCES
+ kviewshell.cpp
+)
+
+
+##### kmultipage (shared) #######################
+
+tde_add_library( kmultipage SHARED AUTOMOC
+ SOURCES
+ kmultipage.cpp pageView.cpp marklist.cpp kmultipageInterface.skel
+ units.cpp pageSize.cpp simplePageSize.cpp renderedDocumentPage.cpp
+ renderedDocumentPagePixmap.cpp renderedDocumentPagePrinter.cpp
+ documentPageCache.cpp documentWidget.cpp searchWidget.cpp
+ selection.cpp documentRenderer.cpp history.cpp kvsprefs.kcfgc
+ tableOfContents.cpp kprintDialogPage_pageoptions.cpp
+ LINK kparts-shared kdeprint-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### kviewerpart (module) ######################
+
+tde_add_kpart( kviewerpart AUTOMOC
+ SOURCES
+ kviewpart.cpp pageSizeWidget_base.ui pageSizeWidget.cpp
+ pageSizeDialog.cpp pageSize.cpp sizePreview.cpp zoom.cpp
+ units.cpp kvsprefs.kcfgc optionDialogGUIWidget_base.ui
+ optionDialogAccessibilityWidget.ui simplePageSize.cpp
+ LINK ifaces-static kparts-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### emptymultipagepart (module) ###############
+
+tde_add_kpart( emptymultipagepart AUTOMOC
+ SOURCES
+ empty_multipage.cpp emptyRenderer.cpp
+ LINK kmultipage-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### install import cmake modules ###############
+
+tde_install_export( )