CMakeLists.txt 725 Bytes
Newer Older
Laurent Montel's avatar
Laurent Montel committed
1
2
3
4
set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR})

########### dbus test ###############
set(dbustest_SRCS dbustest.cpp)
5
qt5_add_dbus_interfaces(dbustest_SRCS ${kmail_BINARY_DIR}/src/org.kde.kmail.kmail.xml)
Laurent Montel's avatar
Laurent Montel committed
6
7
add_executable(dbustest ${dbustest_SRCS})
add_dependencies(dbustest kmail_xml)
8
target_link_libraries(dbustest KF5::KIOCore KF5::I18n Qt::DBus)
Laurent Montel's avatar
Laurent Montel committed
9
10
11
12

#####
set(searchdbustest_SRCS searchdbustest.cpp)
add_executable(searchdbustest ${searchdbustest_SRCS})
13
target_link_libraries(searchdbustest Qt::DBus Qt5::Widgets KF5::PimCommonAkonadi)
14

15
16
17
#####
set(searchmailertest_SRCS searchmailertest.cpp)
add_executable(searchmailertest ${searchmailertest_SRCS})
Laurent Montel's avatar
Laurent Montel committed
18
target_link_libraries(searchmailertest KF5::MailCommon KF5::Ldap)
19