no knode nor ktimetracker
[kdepim.git] / libkdepimdbusinterfaces / CMakeLists.txt
bloba0a749ddb24c0f4aa6c911f7de0ffea606a984a2
3 add_definitions( -DQT_NO_CAST_FROM_ASCII )
4 add_definitions( -DQT_NO_CAST_TO_ASCII )
7 ########### next target ###############
9 set(kdepimdbusinterfaces_LIB_SRCS
10     urihandler.cpp
11     reminderclient.cpp
14 qt5_generate_dbus_interface(${CMAKE_SOURCE_DIR}/kmail/kmkernel.h org.kde.kmail.kmail.xml OPTIONS -a)
15 qt5_add_dbus_interfaces( kdepimdbusinterfaces_LIB_SRCS ${CMAKE_SOURCE_DIR}/korgac/org.kde.korganizer.KOrgac.xml)
16 qt5_add_dbus_interfaces( kdepimdbusinterfaces_LIB_SRCS ${CMAKE_SOURCE_DIR}/korganizer/org.kde.korganizer.Korganizer.xml)
17 qt5_add_dbus_interfaces( kdepimdbusinterfaces_LIB_SRCS ${CMAKE_CURRENT_BINARY_DIR}/org.kde.kmail.kmail.xml)
19 add_library(kdepimdbusinterfaces ${LIBRARY_TYPE} ${kdepimdbusinterfaces_LIB_SRCS})
20 generate_export_header(kdepimdbusinterfaces BASE_NAME kdepimdbusinterfaces)
22 add_dependencies(kdepimdbusinterfaces kmail_xml)
24 include_directories (
25     ${CMAKE_SOURCE_DIR}
26     ${CMAKE_BINARY_DIR}
27     ${Boost_INCLUDE_DIR}
30 target_link_libraries(kdepimdbusinterfaces
31     KF5::AkonadiCore
32     KF5::AkonadiContact 
33     KF5::KIOCore
36 set_target_properties(kdepimdbusinterfaces PROPERTIES VERSION ${KDEPIM_LIB_VERSION} SOVERSION ${KDEPIM_LIB_VERSION})
37 install(TARGETS kdepimdbusinterfaces ${INSTALL_TARGETS_DEFAULT_ARGS})