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.

CMakeLists.txt 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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. include_directories(
  12. ${CMAKE_CURRENT_BINARY_DIR}
  13. ${CMAKE_BINARY_DIR}
  14. ${CMAKE_SOURCE_DIR}
  15. ${CMAKE_SOURCE_DIR}/kaddressbook
  16. ${CMAKE_SOURCE_DIR}/kaddressbook/interfaces
  17. ${CMAKE_SOURCE_DIR}/libkdenetwork
  18. ${CMAKE_SOURCE_DIR}/libtdepim
  19. ${TDE_INCLUDE_DIR}
  20. ${TQT_INCLUDE_DIRS}
  21. ${GNOKII_INCLUDE_DIRS}
  22. )
  23. link_directories(
  24. ${TQT_LIBRARY_DIRS}
  25. )
  26. if( WITH_GNOKII )
  27. set( GNOKII_DESKTOP gnokii_xxport.desktop )
  28. set( GNOKII_RCFILE gnokii_xxportui.rc )
  29. endif( )
  30. ##### other data ################################
  31. install( FILES
  32. csv_xxport.desktop vcard_xxport.desktop kde2_xxport.desktop
  33. bookmark_xxport.desktop eudora_xxport.desktop ldif_xxport.desktop
  34. opera_xxport.desktop pab_xxport.desktop ${GNOKII_DESKTOP}
  35. DESTINATION ${SERVICES_INSTALL_DIR}/kaddressbook )
  36. install( FILES
  37. csv_xxportui.rc vcard_xxportui.rc kde2_xxportui.rc bookmark_xxportui.rc
  38. eudora_xxportui.rc ldif_xxportui.rc opera_xxportui.rc pab_xxportui.rc
  39. ${GNOKII_RCFILE}
  40. DESTINATION ${DATA_INSTALL_DIR}/kaddressbook )
  41. ##### libkaddrbk_csv_xxport (module) ############
  42. tde_add_kpart( libkaddrbk_csv_xxport AUTOMOC
  43. SOURCES csv_xxport.cpp csvimportdialog.cpp dateparser.cpp
  44. LINK kabinterfaces-shared
  45. DESTINATION ${PLUGIN_INSTALL_DIR}
  46. )
  47. ##### libkaddrbk_vcard_xxport (module) ##########
  48. tde_add_kpart( libkaddrbk_vcard_xxport AUTOMOC
  49. SOURCES vcard_xxport.cpp
  50. LINK kaddressbook-shared qgpgme-shared kabinterfaces-shared
  51. DESTINATION ${PLUGIN_INSTALL_DIR}
  52. )
  53. ##### libkaddrbk_kde2_xxport (module) ###########
  54. tde_add_kpart( libkaddrbk_kde2_xxport AUTOMOC
  55. SOURCES kde2_xxport.cpp
  56. LINK kabinterfaces-shared
  57. DESTINATION ${PLUGIN_INSTALL_DIR}
  58. )
  59. ##### libkaddrbk_bookmark_xxport (module) #######
  60. tde_add_kpart( libkaddrbk_bookmark_xxport AUTOMOC
  61. SOURCES bookmark_xxport.cpp
  62. LINK kabinterfaces-shared
  63. DESTINATION ${PLUGIN_INSTALL_DIR}
  64. )
  65. ##### libkaddrbk_eudora_xxport (module) #########
  66. tde_add_kpart( libkaddrbk_eudora_xxport AUTOMOC
  67. SOURCES eudora_xxport.cpp
  68. LINK kabinterfaces-shared
  69. DESTINATION ${PLUGIN_INSTALL_DIR}
  70. )
  71. ##### libkaddrbk_ldif_xxport (module) ###########
  72. tde_add_kpart( libkaddrbk_ldif_xxport AUTOMOC
  73. SOURCES ldif_xxport.cpp
  74. LINK kabinterfaces-shared
  75. DESTINATION ${PLUGIN_INSTALL_DIR}
  76. )
  77. ##### libkaddrbk_opera_xxport (module) ##########
  78. tde_add_kpart( libkaddrbk_opera_xxport AUTOMOC
  79. SOURCES opera_xxport.cpp
  80. LINK kabinterfaces-shared
  81. DESTINATION ${PLUGIN_INSTALL_DIR}
  82. )
  83. ##### libkaddrbk_pab_xxport (module) ############
  84. tde_add_kpart( libkaddrbk_pab_xxport AUTOMOC
  85. SOURCES pab_xxport.cpp pab_mapihd.cpp pab_pablib.cpp
  86. LINK kabinterfaces-shared
  87. DESTINATION ${PLUGIN_INSTALL_DIR}
  88. )
  89. ##### libkaddrbk_gnokii_xxport (module) #########
  90. # FIXME gnokii suport are not ready
  91. if( WITH_GNOKII )
  92. tde_add_kpart( libkaddrbk_gnokii_xxport AUTOMOC
  93. SOURCES gnokii_xxport.cpp
  94. LINK kabinterfaces-shared ${GNOKII_LIBRARIES}
  95. DESTINATION ${PLUGIN_INSTALL_DIR}
  96. )
  97. endif( )