TDE personal information management applications
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
2.3KB

  1. #################################################
  2. #
  3. # (C) 2010-2011 Serghei Amelian
  4. # serghei (DOT) amelian (AT) gmail.com
  5. #
  6. # Improvements and feedback are welcome
  7. #
  8. # This file is released under GPL >= 2
  9. #
  10. #################################################
  11. tde_import( libkmime )
  12. tde_import( ktnef )
  13. tde_import( libtdepim )
  14. tde_import( libkdenetwork )
  15. tde_import( certmanager )
  16. tde_import( libkcal )
  17. tde_import( libkpimidentities )
  18. add_subdirectory( kalarmd )
  19. add_subdirectory( lib )
  20. add_subdirectory( pixmaps )
  21. include_directories(
  22. ${CMAKE_CURRENT_BINARY_DIR}
  23. ${CMAKE_CURRENT_SOURCE_DIR}
  24. ${CMAKE_CURRENT_SOURCE_DIR}/lib
  25. ${CMAKE_CURRENT_SOURCE_DIR}/kalarmd
  26. ${CMAKE_BINARY_DIR}
  27. ${CMAKE_SOURCE_DIR}
  28. ${CMAKE_SOURCE_DIR}/libkmime
  29. ${CMAKE_SOURCE_DIR}/libtdepim
  30. ${CMAKE_SOURCE_DIR}/certmanager/lib
  31. ${TDE_INCLUDE_DIR}
  32. ${TQT_INCLUDE_DIRS}
  33. )
  34. link_directories(
  35. ${TDE_LIB_DIR}
  36. ${TQT_LIBRARY_DIRS}
  37. )
  38. if( WITH_ARTS )
  39. set( ARTS_LIBRARIES artskde-shared mcop )
  40. endif( )
  41. ##### other data ################################
  42. tde_install_icons( )
  43. install( FILES kalarm.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
  44. install( FILES kalarm.tray.desktop DESTINATION ${AUTOSTART_INSTALL_DIR} )
  45. install( FILES kalarmui.rc DESTINATION ${DATA_INSTALL_DIR}/kalarm )
  46. install( FILES uninstall.desktop DESTINATION ${APPS_INSTALL_DIR}/Applications RENAME kalarm.desktop )
  47. ##### kalarm (executable) #######################
  48. tde_add_executable( kalarm AUTOMOC
  49. SOURCES
  50. birthdaydlg.cpp main.cpp alarmevent.cpp editdlg.cpp
  51. emailidcombo.cpp find.cpp pickfileradio.cpp
  52. calendarcompat.cpp eventlistviewbase.cpp alarmlistview.cpp
  53. kamail.cpp timeselector.cpp fontcolourbutton.cpp
  54. alarmtimewidget.cpp fontcolour.cpp soundpicker.cpp
  55. sounddlg.cpp alarmcalendar.cpp daemon.cpp undo.cpp
  56. kalarmapp.cpp mainwindowbase.cpp mainwindow.cpp
  57. messagewin.cpp preferences.cpp prefdlg.cpp
  58. kalarmiface.skel recurrenceedit.cpp karecurrence.cpp
  59. deferdlg.cpp functions.cpp specialactions.cpp reminder.cpp
  60. startdaytimer.cpp templatelistview.cpp templatepickdlg.cpp
  61. templatedlg.cpp templatemenuaction.cpp latecancel.cpp
  62. repetition.cpp alarmtext.cpp traywindow.cpp dcophandler.cpp
  63. kalarmd/alarmguiiface.skel
  64. LINK
  65. kalarm-static kalarmd-static
  66. kpimidentities-shared kutils-shared ${ARTS_LIBRARIES}
  67. DESTINATION ${BIN_INSTALL_DIR}
  68. )