KDE PIM support for the p≡p engine
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.

65 lines
1.7 KiB

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. set(pepagent_SRCS
  2. pepagent.cpp
  3. syncthread.cpp
  4. #pepselectjob.cpp
  5. #pepscheduler.cpp
  6. #pepagent_debug.cpp
  7. )
  8. kcfg_generate_dbus_interface(${CMAKE_CURRENT_SOURCE_DIR}/pepagent.kcfg org.kde.Akonadi.pEpAgent.Settings)
  9. qt5_add_dbus_adaptor(pepagent_SRCS
  10. ${PROJECT_SOURCE_DIR}/pEpDBusAdapter/pep-introspect.xml pepagent.h pEpAgent
  11. )
  12. ecm_qt_declare_logging_category(pepagent_SRCS HEADER pepagent_debug.h IDENTIFIER PEPAGENT_LOG CATEGORY_NAME org.kde.pim.pepagent
  13. DESCRIPTION "kmail (pepagent)"
  14. OLD_CATEGORY_NAMES log_pepagent
  15. EXPORT KMAIL
  16. )
  17. add_executable(akonadi_pep_agent ${pepagent_SRCS})
  18. target_link_libraries(akonadi_pep_agent
  19. KF5::AkonadiCore
  20. KF5::AkonadiMime
  21. KF5::Mime
  22. KF5::MailTransportAkonadi
  23. KF5::AkonadiAgentBase
  24. KF5::MailTransportAkonadi
  25. KF5::I18n
  26. KF5::Notifications
  27. KF5::GrantleeTheme
  28. Grantlee5::Templates
  29. KF5::MailCommon
  30. Qt5::Core
  31. Qt5::Network
  32. KF5::AkonadiCore
  33. KF5::IMAP
  34. KF5::MailTransport
  35. KF5::KIOWidgets
  36. KF5::Mime
  37. KF5::AkonadiMime
  38. KF5::IdentityManagement
  39. KF5::AkonadiAgentBase
  40. KF5::I18n
  41. KF5::WindowSystem
  42. KF5::PimCommon
  43. KF5::Libkdepim
  44. pEpEngine
  45. pEpMIME
  46. pEpAdapter
  47. sequoia_ffi
  48. sequoia_openpgp_ffi
  49. )
  50. set_property(TARGET akonadi_pep_agent PROPERTY CXX_STANDARD 17)
  51. configure_file(pepagent.service.in ${CMAKE_CURRENT_BINARY_DIR}/pepagent.service)
  52. install(FILES ${CMAKE_CURRENT_BINARY_DIR}/pepagent.service
  53. DESTINATION ${KDE_INSTALL_DBUSSERVICEDIR})
  54. install( TARGETS akonadi_pep_agent ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
  55. install( FILES pepagent.desktop DESTINATION "${KDE_INSTALL_DATAROOTDIR}/akonadi/agents" )
  56. install( FILES akonadi_pep_agent.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFY5RCDIR} )