summaryrefslogtreecommitdiffstats
path: root/kaddressbook/CMakeLists.txt
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-05 23:54:57 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-03-05 23:54:57 +0000
commitb67ece773ccb72aafa48a4117a9aae82531e3aaf (patch)
tree9dd91fcd5599ae865bea43313ed7068eb4ec0177 /kaddressbook/CMakeLists.txt
parenta21c1c9b1dca09b9ab3a56d60e6f4c7a253689f8 (diff)
downloadtdepim-b67ece773ccb72aafa48a4117a9aae82531e3aaf.tar.gz
tdepim-b67ece773ccb72aafa48a4117a9aae82531e3aaf.zip
[kdepim]: initial cmake support for following subpackages: akregator, certmanager, kaddressbook, kalarm, kioslaves, kmail, ktnef, libemailfunctions, libkcal, libkdenetwork, libkdepim, libkmime, libkpgp, libkpimidentities, libksieve, mimelib
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1223912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kaddressbook/CMakeLists.txt')
-rw-r--r--kaddressbook/CMakeLists.txt109
1 files changed, 109 insertions, 0 deletions
diff --git a/kaddressbook/CMakeLists.txt b/kaddressbook/CMakeLists.txt
new file mode 100644
index 000000000..20788aa51
--- /dev/null
+++ b/kaddressbook/CMakeLists.txt
@@ -0,0 +1,109 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_import( libkdenetwork )
+tde_import( certmanager )
+tde_import( libkmime )
+tde_import( ktnef )
+tde_import( libkcal )
+tde_import( libkdepim )
+
+add_subdirectory( interfaces )
+add_subdirectory( common )
+add_subdirectory( printing )
+add_subdirectory( editors )
+add_subdirectory( views )
+add_subdirectory( features )
+add_subdirectory( xxport )
+add_subdirectory( kcmconfigs )
+add_subdirectory( pics )
+add_subdirectory( csv-templates )
+add_subdirectory( thumbnailcreator )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}/common
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/common
+ ${CMAKE_CURRENT_SOURCE_DIR}/interfaces
+ ${CMAKE_CURRENT_SOURCE_DIR}/editors
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libkdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( kaddressbook )
+
+install( FILES
+ kaddressbook.desktop
+ DESTINATION ${XDG_APPS_INSTALL_DIR} )
+
+install( FILES
+ kaddressbook_view.desktop dcopaddressbook.desktop
+ DESTINATION ${SERVICETYPES_INSTALL_DIR} )
+
+install( FILES
+ kaddressbookui.rc kaddressbook_part.rc zone.tab
+ DESTINATION ${DATA_INSTALL_DIR}/kaddressbook )
+
+
+##### libkaddressbookpart (module) ##############
+
+tde_add_kpart( libkaddressbookpart AUTOMOC
+ SOURCES kaddressbook_part.cpp
+ LINK kaddressbook-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+
+##### kaddressbook (executable) #################
+
+tde_add_executable( kaddressbook AUTOMOC
+ SOURCES main.cpp kaddressbookmain.cpp
+ LINK kaddressbook-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kaddressbook (shared) #####################
+
+tde_add_library( kaddressbook SHARED AUTOMOC
+ SOURCES
+ addresseeconfig.cpp addresseeeditordialog.cpp addresseeeditorwidget.cpp
+ addresseeeditorbase.cpp addresseeeditorextension.cpp addresseeutil.cpp
+ addresseditwidget.cpp addviewdialog.cpp emaileditwidget.cpp
+ extensionmanager.cpp filtereditdialog.cpp filterselectionwidget.cpp
+ geowidget.cpp imagewidget.cpp incsearchwidget.cpp jumpbuttonbar.cpp kabcore.cpp
+ kablock.cpp kaddressbookiface.skel kaddressbookservice.cpp kaddressbookview.cpp
+ keywidget.cpp ldapsearchdialog.cpp nameeditdialog.cpp phoneeditwidget.cpp
+ secrecywidget.cpp soundwidget.cpp viewconfigurefieldspage.cpp
+ viewconfigurefilterpage.cpp viewconfigurewidget.cpp undocmds.cpp
+ viewmanager.cpp xxportmanager.cpp xxportselectdialog.cpp
+ contacteditorwidgetmanager.cpp simpleaddresseeeditor.cpp
+ advancedcustomfields.cpp customfieldswidget.cpp freebusywidget.cpp
+ searchmanager.cpp imeditwidget.cpp kabtools.cpp distributionlistpicker.cpp
+ distributionlisteditor.cpp distributionlistentryview.cpp
+ VERSION 0.0.0
+ LINK
+ kabcommon-static kabim-static printer-static
+ kabinterfaces-shared
+ kdepim-shared kabc_file-shared kdeprint-shared kutils-shared
+ DESTINATION ${LIB_INSTALL_DIR}
+)