2014-11-07 08:08:29 +00:00
|
|
|
set(testServer_SRCS
|
|
|
|
waylandservertest.cpp
|
|
|
|
)
|
|
|
|
add_executable(testServer ${testServer_SRCS})
|
|
|
|
target_link_libraries(testServer KF5::WaylandServer)
|
|
|
|
ecm_mark_as_test(testServer)
|
2014-11-10 13:56:17 +00:00
|
|
|
|
|
|
|
find_package(Qt5Widgets ${QT_MIN_VERSION} CONFIG QUIET)
|
|
|
|
if (Qt5Widgets_FOUND)
|
|
|
|
set(testRenderingServer_SRCS
|
|
|
|
renderingservertest.cpp
|
|
|
|
)
|
|
|
|
add_executable(testRenderingServer ${testRenderingServer_SRCS})
|
|
|
|
target_link_libraries(testRenderingServer KF5::WaylandServer Qt5::Widgets)
|
|
|
|
ecm_mark_as_test(testRenderingServer)
|
|
|
|
endif()
|
2014-11-12 12:17:26 +00:00
|
|
|
|
|
|
|
add_executable(copyClient copyclient.cpp)
|
|
|
|
target_link_libraries(copyClient KF5::WaylandClient)
|
|
|
|
ecm_mark_as_test(copyClient)
|