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.
 
 
 
 
 
 

101 lines
2.3 KiB

  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. project( knotes )
  12. tde_import( libkmime )
  13. tde_import( ktnef )
  14. tde_import( libkcal )
  15. tde_import( libtdepim )
  16. add_subdirectory( pics )
  17. add_subdirectory( icons )
  18. include_directories(
  19. ${CMAKE_CURRENT_BINARY_DIR}
  20. ${CMAKE_SOURCE_DIR}
  21. ${CMAKE_SOURCE_DIR}/libtdepim
  22. ${TDE_INCLUDE_DIR}
  23. ${TQT_INCLUDE_DIRS}
  24. )
  25. link_directories(
  26. ${TQT_LIBRARY_DIRS}
  27. )
  28. ##### headers ###################################
  29. install( FILES KNotesIface.h KNotesAppIface.h DESTINATION ${INCLUDE_INSTALL_DIR} )
  30. ##### other data ################################
  31. tde_create_translated_desktop(
  32. SOURCE knotes.desktop
  33. PO_DIR knotes-desktops
  34. )
  35. install( FILES knoteconfig.kcfg knotesglobalconfig.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
  36. install( FILES knotesappui.rc knotesui.rc DESTINATION ${DATA_INSTALL_DIR}/knotes )
  37. tde_create_translated_desktop(
  38. SOURCE local.desktop
  39. DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/knotes
  40. PO_DIR knotes-desktops
  41. )
  42. tde_create_translated_desktop(
  43. SOURCE knotes_manager.desktop
  44. DESTINATION ${SERVICES_INSTALL_DIR}/tderesources
  45. PO_DIR knotes-desktops
  46. )
  47. ##### knotes (executable) #######################
  48. tde_add_executable( knotes AUTOMOC
  49. SOURCES
  50. main.cpp knotesapp.cpp KNotesAppIface.skel
  51. LINK knotes-shared
  52. DESTINATION ${BIN_INSTALL_DIR}
  53. )
  54. ##### knotes_local (module) #####################
  55. tde_add_kpart( knotes_local AUTOMOC
  56. SOURCES
  57. resourcelocal_plugin.cpp
  58. LINK knotes-shared
  59. DESTINATION ${PLUGIN_INSTALL_DIR}
  60. )
  61. ##### knotes (shared) ###########################
  62. tde_add_library( knotes SHARED AUTOMOC
  63. SOURCES
  64. knoteslegacy.cpp knoteconfig.kcfgc knotesglobalconfig.kcfgc knoteedit.cpp
  65. knoteprinter.cpp knotesnetrecv.cpp knotesnetsend.cpp resourcemanager.cpp
  66. resourcenotes.cpp resourcelocal.cpp resourcelocalconfig.cpp knote.cpp
  67. knotebutton.cpp knoteconfigdlg.cpp knotehostdlg.cpp knotealarmdlg.cpp
  68. knotesalarm.cpp
  69. VERSION 0.0.0
  70. LINK tdepim-shared tdeutils-shared tdeprint-shared
  71. DESTINATION ${LIB_INSTALL_DIR}
  72. )
  73. ##### install import cmake modules ###############
  74. tde_install_export( )