55 lines
1.4 KiB
CMake
55 lines
1.4 KiB
CMake
set(pepagent_SRCS
|
|
pepagent.cpp
|
|
#pepselectjob.cpp
|
|
#pepscheduler.cpp
|
|
#pepagent_debug.cpp
|
|
)
|
|
|
|
kcfg_generate_dbus_interface(${CMAKE_CURRENT_SOURCE_DIR}/pepagent.kcfg org.kde.Akonadi.pEpAgent.Settings)
|
|
|
|
qt5_add_dbus_adaptor(pepagent_SRCS
|
|
${CMAKE_CURRENT_SOURCE_DIR}/org.freedesktop.Akonadi.pEpAgent.xml pepagent.h pEpAgent
|
|
)
|
|
|
|
ecm_qt_declare_logging_category(pepagent_SRCS HEADER pepagent_debug.h IDENTIFIER PEPAGENT_LOG CATEGORY_NAME org.kde.pim.pepagent
|
|
DESCRIPTION "kmail (pepagent)"
|
|
OLD_CATEGORY_NAMES log_pepagent
|
|
EXPORT KMAIL
|
|
)
|
|
|
|
add_executable(akonadi_pep_agent ${pepagent_SRCS})
|
|
|
|
target_link_libraries(akonadi_pep_agent
|
|
KF5::AkonadiCore
|
|
KF5::AkonadiMime
|
|
KF5::Mime
|
|
KF5::MailTransportAkonadi
|
|
KF5::AkonadiAgentBase
|
|
KF5::MailTransportAkonadi
|
|
KF5::I18n
|
|
KF5::Notifications
|
|
KF5::GrantleeTheme
|
|
Grantlee5::Templates
|
|
KF5::MailCommon
|
|
Qt5::Core
|
|
Qt5::DBus
|
|
Qt5::Network
|
|
KF5::AkonadiCore
|
|
KF5::IMAP
|
|
KF5::MailTransport
|
|
KF5::KIOWidgets
|
|
KF5::Mime
|
|
KF5::AkonadiMime
|
|
KF5::IdentityManagement
|
|
KF5::AkonadiAgentBase
|
|
KF5::I18n
|
|
KF5::WindowSystem
|
|
KF5::PimCommon
|
|
KF5::Libkdepim
|
|
)
|
|
|
|
install( TARGETS akonadi_pep_agent ${KDE_INSTALL_TARGETS_DEFAULT_ARGS} )
|
|
install( FILES pepagent.desktop DESTINATION "${KDE_INSTALL_DATAROOTDIR}/akonadi/agents" )
|
|
install( FILES akonadi_pep_agent.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFY5RCDIR} )
|
|
|