summaryrefslogtreecommitdiffstats
path: root/kalarm
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 /kalarm
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 'kalarm')
-rw-r--r--kalarm/CMakeLists.txt77
-rw-r--r--kalarm/kalarmd/CMakeLists.txt46
-rw-r--r--kalarm/lib/CMakeLists.txt32
-rw-r--r--kalarm/pixmaps/CMakeLists.txt12
4 files changed, 167 insertions, 0 deletions
diff --git a/kalarm/CMakeLists.txt b/kalarm/CMakeLists.txt
new file mode 100644
index 000000000..3ff683946
--- /dev/null
+++ b/kalarm/CMakeLists.txt
@@ -0,0 +1,77 @@
+#################################################
+#
+# (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( libkmime )
+tde_import( ktnef )
+tde_import( libkdepim )
+tde_import( libkdenetwork )
+tde_import( certmanager )
+tde_import( libkcal )
+tde_import( libkpimidentities )
+
+add_subdirectory( kalarmd )
+add_subdirectory( lib )
+add_subdirectory( pixmaps )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}/lib
+ ${CMAKE_CURRENT_SOURCE_DIR}/kalarmd
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/libkmime
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TDE_LIB_DIR}
+ ${TQT_LIBRARY_DIRS}
+)
+
+if( WITH_ARTS )
+ set( ARTS_LIBRARIES artskde-shared mcop )
+endif( )
+
+
+##### other data ################################
+
+tde_install_icons( )
+install( FILES kalarm.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kalarm.tray.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
+install( FILES kalarmui.rc DESTINATION ${DATA_INSTALL_DIR}/kalarm )
+install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/Applications RENAME kalarm.desktop )
+
+
+##### kalarm (executable) #######################
+
+tde_add_executable( kalarm AUTOMOC
+ SOURCES
+ birthdaydlg.cpp main.cpp alarmevent.cpp editdlg.cpp
+ emailidcombo.cpp find.cpp pickfileradio.cpp
+ calendarcompat.cpp eventlistviewbase.cpp alarmlistview.cpp
+ kamail.cpp timeselector.cpp fontcolourbutton.cpp
+ alarmtimewidget.cpp fontcolour.cpp soundpicker.cpp
+ sounddlg.cpp alarmcalendar.cpp daemon.cpp undo.cpp
+ kalarmapp.cpp mainwindowbase.cpp mainwindow.cpp
+ messagewin.cpp preferences.cpp prefdlg.cpp
+ kalarmiface.skel recurrenceedit.cpp karecurrence.cpp
+ deferdlg.cpp functions.cpp specialactions.cpp reminder.cpp
+ startdaytimer.cpp templatelistview.cpp templatepickdlg.cpp
+ templatedlg.cpp templatemenuaction.cpp latecancel.cpp
+ repetition.cpp alarmtext.cpp traywindow.cpp dcophandler.cpp
+ kalarmd/alarmguiiface.skel
+ LINK
+ kalarm-static kalarmd-static
+ kpimidentities-shared kutils-shared ${ARTS_LIBRARIES}
+ DESTINATION ${BIN_INSTALL_DIR}
+)
diff --git a/kalarm/kalarmd/CMakeLists.txt b/kalarm/kalarmd/CMakeLists.txt
new file mode 100644
index 000000000..c3e163367
--- /dev/null
+++ b/kalarm/kalarmd/CMakeLists.txt
@@ -0,0 +1,46 @@
+#################################################
+#
+# (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_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+install( FILES kalarmd.autostart.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
+install( FILES kalarmd.desktop DESTINATION ${APPS_INSTALL_DIR}/.hidden )
+
+
+##### kalarmd (executable) ######################
+
+tde_add_executable( kalarmd AUTOMOC
+ SOURCES
+ adcalendar.cpp adconfigdata.cpp clientinfo.cpp
+ alarmdaemon.cpp admain.cpp adapp.cpp alarmdaemoniface.skel
+ LINK kalarmd-static kcal-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kalarmd (static) ##########################
+
+tde_add_library( kalarmd STATIC_PIC
+ SOURCES alarmdaemoniface.stub alarmguiiface.stub
+)
diff --git a/kalarm/lib/CMakeLists.txt b/kalarm/lib/CMakeLists.txt
new file mode 100644
index 000000000..6564d5f16
--- /dev/null
+++ b/kalarm/lib/CMakeLists.txt
@@ -0,0 +1,32 @@
+#################################################
+#
+# (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_CURRENT_SOURCE_DIR}
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/kalarm
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+
+##### kalarm (static) ###########################
+
+tde_add_library( kalarm STATIC_PIC AUTOMOC
+ SOURCES
+ buttongroup.cpp checkbox.cpp colourcombo.cpp colourlist.cpp
+ combobox.cpp dateedit.cpp datetime.cpp label.cpp
+ messagebox.cpp lineedit.cpp synchtimer.cpp pushbutton.cpp
+ radiobutton.cpp timeedit.cpp timespinbox.cpp timeperiod.cpp
+ shellprocess.cpp slider.cpp spinbox.cpp spinbox2.cpp
+)
diff --git a/kalarm/pixmaps/CMakeLists.txt b/kalarm/pixmaps/CMakeLists.txt
new file mode 100644
index 000000000..b67484672
--- /dev/null
+++ b/kalarm/pixmaps/CMakeLists.txt
@@ -0,0 +1,12 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons( kalarm DESTINATION ${DATA_INSTALL_DIR}/kalarm/icons )