summaryrefslogtreecommitdiffstats
path: root/libtdepim/CMakeLists.txt
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:57:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:57:02 -0600
commit2c2fbd828ca474671bb9e03681b30b115d8d6035 (patch)
tree526a9da418f8d3d7ccf515c37048d3dfc80f2843 /libtdepim/CMakeLists.txt
parentf0610eece3676b6fe99f42cf4ef2b19a39a5c4e8 (diff)
downloadtdepim-2c2fbd828ca474671bb9e03681b30b115d8d6035.tar.gz
tdepim-2c2fbd828ca474671bb9e03681b30b115d8d6035.zip
Actually move the kde files that were renamed in the last commit
Diffstat (limited to 'libtdepim/CMakeLists.txt')
-rw-r--r--libtdepim/CMakeLists.txt108
1 files changed, 108 insertions, 0 deletions
diff --git a/libtdepim/CMakeLists.txt b/libtdepim/CMakeLists.txt
new file mode 100644
index 000000000..19ca1d524
--- /dev/null
+++ b/libtdepim/CMakeLists.txt
@@ -0,0 +1,108 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+project( libtdepim )
+
+include( ConfigureChecks.cmake )
+
+tde_import( libkmime )
+tde_import( libkcal )
+tde_import( ktnef )
+
+add_subdirectory( icons )
+add_subdirectory( pics )
+add_subdirectory( kpartsdesignerplugin )
+add_subdirectory( about )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libtdepim
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### headers ###################################
+
+install( FILES
+ tdepimmacros.h kpimprefs.h
+ DESTINATION ${INCLUDE_INSTALL_DIR}/kde )
+
+
+##### other data ################################
+
+install( FILES pimemoticons.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+
+
+##### tdepimwidgets (module) ####################
+
+add_custom_command( OUTPUT tdepimwidgets.cpp
+ COMMAND
+ ${KDE3_MAKEKDEWIDGETS_EXECUTABLE}
+ -o tdepimwidgets.cpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/tdepim.widgets
+ DEPENDS
+ ${CMAKE_CURRENT_SOURCE_DIR}/tdepim.widgets )
+
+set_source_files_properties( tdepimwidgets.cpp PROPERTIES COMPILE_FLAGS "-DQT_PLUGIN" )
+
+tde_add_kpart( tdepimwidgets
+ SOURCES tdepimwidgets.cpp
+ LINK tdepim-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}/plugins/designer
+)
+
+
+##### tdepim (shared) ###########################
+
+set( KDE3_DCOPIDL_EXECUTABLE ${KDE3_DCOPIDLNG_EXECUTABLE} )
+
+tde_add_library( tdepim SHARED AUTOMOC
+ SOURCES
+ ktimeedit.cpp alarmclient.cpp kprefsdialog.cpp kpimprefs.cpp
+ categoryselectdialog_base.ui categoryselectdialog.cpp
+ categoryeditdialog_base.ui categoryeditdialog.cpp kdateedit.cpp
+ kimportdialog.cpp kvcarddrag.cpp sidebarextension.cpp
+ infoextension.cpp addressesdialog.cpp addresspicker.ui
+ addresseeview.cpp maillistdrag.cpp interfaces/MailTransportServiceIface.skel
+ interfaces/AddressBookServiceIface.skel kconfigpropagator.cpp kconfigwizard.cpp
+ weaver.cpp weaverextensions.cpp weaverlogger.cpp pluginloaderbase.cpp
+ addresseelineedit.cpp addresseelineedit.skel kdatepickerpopup.cpp
+ kfileio.cpp clicklineedit.cpp configmanager.cpp collectingprocess.cpp
+ ldapclient.cpp overlaywidget.cpp progressmanager.cpp progressdialog.cpp
+ statusbarprogresswidget.cpp ssllabel.cpp completionordereditor.cpp
+ resourceabc.cpp diffalgo.cpp addresseediffalgo.cpp calendardiffalgo.cpp
+ htmldiffalgodisplay.cpp ldapsearchdialog.cpp broadcaststatus.cpp
+ kresourceprefs.cpp kpixmapregionselectorwidget.cpp
+ kpixmapregionselectordialog.cpp kabcresourcecached.cpp
+ kxface.cpp kaccount.cpp kaddrbook.cpp kfoldertree.cpp kregexp3.cpp
+ kscoring.cpp kscoringeditor.cpp ksubscription.cpp kwidgetlister.cpp
+ linklocator.cpp qutf7codec.cpp recentaddresses.cpp spellingfilter.cpp
+ addresseeselector.cpp addresseeemailselection.cpp designerfields.cpp
+ kcmdesignerfields.cpp embeddedurlpage.cpp kincidencechooser.cpp
+ groupwarejob.cpp pimemoticons.kcfgc krsqueezedtextlabel.cpp
+ csshelper.cpp distributionlist.cpp kpimurlrequesterdlg.cpp
+ sendsmsdialog.cpp kmailcompletion.cpp
+ VERSION 1.0.0
+ LINK kcal-shared kimproxy-shared kparts-shared qui
+ DESTINATION ${LIB_INSTALL_DIR}
+)
+
+
+##### install import cmake modules ###############
+
+tde_install_export( )