CMakeLists.txt 2.09 KB
Newer Older
1
set(phonewidgettest_SRCS phonewidgettest.cpp)
Laurent Montel's avatar
Laurent Montel committed
2 3 4
add_executable(phonewidgettest ${phonewidgettest_SRCS})
add_test(phonewidgettest phonewidgettest)
ecm_mark_as_test(phonewidgettest)
5
target_link_libraries(phonewidgettest Qt5::Test  Qt5::Widgets KF5::AkonadiContact KF5::Contacts KF5::I18n KF5::Completion KF5::IconThemes)
Laurent Montel's avatar
Laurent Montel committed
6 7


Laurent Montel's avatar
Laurent Montel committed
8
set(mailwidgettest_SRCS mailwidgettest.cpp)
Laurent Montel's avatar
Laurent Montel committed
9 10 11
add_executable(mailwidgettest ${mailwidgettest_SRCS})
add_test(mailwidgettest mailwidgettest)
ecm_mark_as_test(mailwidgettest)
12
target_link_libraries(mailwidgettest Qt5::Test  Qt5::Widgets KF5::AkonadiContact KF5::Contacts KF5::I18n KF5::Completion KF5::IconThemes)
Laurent Montel's avatar
Laurent Montel committed
13

Laurent Montel's avatar
Laurent Montel committed
14
set(messagingwidgettest_SRCS messagingwidgettest.cpp ../../widgets/preferredlineeditwidget.cpp)
Laurent Montel's avatar
Laurent Montel committed
15 16 17
add_executable(messagingwidgettest ${messagingwidgettest_SRCS})
add_test(messagingwidgettest messagingwidgettest)
ecm_mark_as_test(messagingwidgettest)
18
target_link_libraries(messagingwidgettest Qt5::Test  Qt5::Widgets KF5::AkonadiContact KF5::Contacts KF5::I18n KF5::Completion KF5::Service KF5::IconThemes)
19 20 21



Laurent Montel's avatar
Laurent Montel committed
22
set(akonadicontactselecttypecomboboxtest_SRCS akonadicontactselecttypecomboboxtest.cpp)
23 24 25 26
add_executable(akonadicontactselecttypecomboboxtest ${akonadicontactselecttypecomboboxtest_SRCS})
add_test(akonadicontactselecttypecomboboxtest akonadicontactselecttypecomboboxtest)
ecm_mark_as_test(akonadicontactselecttypecomboboxtest)
target_link_libraries(akonadicontactselecttypecomboboxtest Qt5::Test  Qt5::Widgets KF5::AkonadiContact KF5::I18n )
Laurent Montel's avatar
Laurent Montel committed
27 28 29 30 31 32 33 34


set(nicknamewidgettest_SRCS nicknamewidgettest.cpp)
add_executable(nicknamewidgettest ${nicknamewidgettest_SRCS})
add_test(nicknamewidgettest nicknamewidgettest)
ecm_mark_as_test(nicknamewidgettest)
target_link_libraries(nicknamewidgettest Qt5::Test  Qt5::Widgets KF5::AkonadiContact KF5::I18n )

Laurent Montel's avatar
Laurent Montel committed
35 36 37 38 39 40

set(messageformattingwidgettest_SRCS messageformattingwidgettest.cpp)
add_executable(messageformattingwidgettest ${messageformattingwidgettest_SRCS})
add_test(messageformattingwidgettest messageformattingwidgettest)
ecm_mark_as_test(messageformattingwidgettest)
target_link_libraries(messageformattingwidgettest Qt5::Test  Qt5::Widgets KF5::AkonadiContact KF5::I18n )