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.

79 lines
2.0KB

  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( libkcal )
  14. tde_import( libtdepim )
  15. tde_import( kresources )
  16. add_subdirectory( support )
  17. add_subdirectory( pics )
  18. include_directories(
  19. ${CMAKE_CURRENT_BINARY_DIR}
  20. ${CMAKE_CURRENT_SOURCE_DIR}
  21. ${CMAKE_BINARY_DIR}
  22. ${CMAKE_SOURCE_DIR}
  23. ${CMAKE_SOURCE_DIR}/libkcal
  24. ${CMAKE_SOURCE_DIR}/libtdepim
  25. ${CMAKE_SOURCE_DIR}/kresources/remote
  26. ${TDE_INCLUDE_DIR}
  27. ${TQT_INCLUDE_DIRS}
  28. )
  29. link_directories(
  30. ${TQT_LIBRARY_DIRS}
  31. )
  32. ##### other data ################################
  33. tde_install_icons( karm )
  34. install( FILES karm_part.desktop DESTINATION ${SERVICES_INSTALL_DIR} )
  35. install( FILES uninstall.desktop RENAME karm.desktop DESTINATION ${APPS_INSTALL_DIR}/Utilities )
  36. install( FILES karmui.rc DESTINATION ${DATA_INSTALL_DIR}/karm )
  37. install( FILES karmui.rc DESTINATION ${DATA_INSTALL_DIR}/karmpart )
  38. ##### karm (shared) #############################
  39. tde_add_library( karm SHARED AUTOMOC
  40. SOURCES
  41. kaccelmenuwatch.cpp desktoptracker.cpp edittaskdialog.cpp
  42. idletimedetector.cpp printdialog.cpp timekard.cpp karmutility.cpp
  43. ktimewidget.cpp karmstorage.cpp mainwindow.cpp preferences.cpp
  44. print.cpp task.cpp taskview.cpp tray.cpp csvexportdialog_base.ui
  45. csvexportdialog.cpp plannerparser.cpp karmdcopiface.skel
  46. taskviewwhatsthis.cpp
  47. VERSION 0.0.0
  48. LINK kcal_resourceremote-shared kdeprint-shared
  49. DESTINATION ${LIB_INSTALL_DIR}
  50. )
  51. ##### libkarmpart (module) ######################
  52. tde_add_kpart( libkarmpart AUTOMOC
  53. SOURCES karm_part.cpp
  54. LINK karm-shared
  55. DESTINATION ${PLUGIN_INSTALL_DIR}
  56. )
  57. ##### karm (executable) #########################
  58. tde_add_executable( karm
  59. SOURCES main.cpp
  60. LINK karm-shared
  61. DESTINATION ${BIN_INSTALL_DIR}
  62. )