2014-09-17 11:24:51 +00:00
|
|
|
########################################################
|
|
|
|
# Test WaylandServerDisplay
|
|
|
|
########################################################
|
2016-01-25 09:52:03 +00:00
|
|
|
add_definitions(-DAUTOTEST_CURRENT_BIN_DIR="${CMAKE_CURRENT_BINARY_DIR}")
|
2014-09-17 11:24:51 +00:00
|
|
|
set( testWaylandServerDisplay_SRCS
|
|
|
|
test_display.cpp
|
|
|
|
)
|
|
|
|
add_executable(testWaylandServerDisplay ${testWaylandServerDisplay_SRCS})
|
2014-09-17 13:10:43 +00:00
|
|
|
target_link_libraries( testWaylandServerDisplay Qt5::Test Qt5::Gui KF5::WaylandServer Wayland::Server)
|
2014-09-17 14:22:34 +00:00
|
|
|
add_test(kwayland-testWaylandServerDisplay testWaylandServerDisplay)
|
2014-09-17 11:24:51 +00:00
|
|
|
ecm_mark_as_test(testWaylandServerDisplay)
|
|
|
|
|
|
|
|
########################################################
|
|
|
|
# Test WaylandServerSeat
|
|
|
|
########################################################
|
|
|
|
set( testWaylandServerSeat_SRCS
|
|
|
|
test_seat.cpp
|
|
|
|
)
|
|
|
|
add_executable(testWaylandServerSeat ${testWaylandServerSeat_SRCS})
|
2014-09-17 13:10:43 +00:00
|
|
|
target_link_libraries( testWaylandServerSeat Qt5::Test Qt5::Gui KF5::WaylandServer Wayland::Server)
|
2014-09-17 14:22:34 +00:00
|
|
|
add_test(kwayland-testWaylandServerSeat testWaylandServerSeat)
|
2014-09-17 11:24:51 +00:00
|
|
|
ecm_mark_as_test(testWaylandServerSeat)
|