2023-05-02 12:06:17 +00:00
|
|
|
set(normalhintsbasesizetest_SRCS normalhintsbasesizetest.cpp)
|
|
|
|
add_executable(normalhintsbasesizetest ${normalhintsbasesizetest_SRCS})
|
|
|
|
target_link_libraries(normalhintsbasesizetest XCB::XCB XCB::ICCCM KF6::WindowSystem)
|
2014-02-20 11:39:23 +00:00
|
|
|
|
|
|
|
# next target
|
|
|
|
set(screenedgeshowtest_SRCS screenedgeshowtest.cpp)
|
|
|
|
add_executable(screenedgeshowtest ${screenedgeshowtest_SRCS})
|
2023-02-25 20:21:59 +00:00
|
|
|
target_link_libraries(screenedgeshowtest Qt::GuiPrivate Qt::Widgets KF6::ConfigCore KF6::WindowSystem KF6::WaylandClient ${XCB_XCB_LIBRARY})
|
2014-08-21 10:57:50 +00:00
|
|
|
|
2016-07-06 11:32:38 +00:00
|
|
|
add_executable(x11shadowreader x11shadowreader.cpp)
|
2023-02-25 20:21:59 +00:00
|
|
|
target_link_libraries(x11shadowreader XCB::XCB Qt::GuiPrivate Qt::Widgets KF6::ConfigCore KF6::WindowSystem)
|
2016-10-27 07:10:08 +00:00
|
|
|
|
2018-06-09 13:19:50 +00:00
|
|
|
add_executable(pointerconstraints pointerconstraintstest.cpp)
|
|
|
|
add_definitions(-DDIR="${CMAKE_CURRENT_SOURCE_DIR}")
|
2023-02-24 18:22:37 +00:00
|
|
|
target_link_libraries(pointerconstraints XCB::XCB Qt::Gui Qt::Quick KF6::WaylandClient)
|
2018-06-09 13:19:50 +00:00
|
|
|
|
2016-10-27 07:10:08 +00:00
|
|
|
add_executable(pointergestures pointergesturestest.cpp)
|
|
|
|
add_definitions(-DDIR="${CMAKE_CURRENT_SOURCE_DIR}")
|
2023-02-24 18:22:37 +00:00
|
|
|
target_link_libraries(pointergestures Qt::Gui Qt::Quick KF6::WaylandClient)
|
2017-11-05 16:09:49 +00:00
|
|
|
|
|
|
|
add_executable(cursorhotspottest cursorhotspottest.cpp)
|
2021-01-30 16:18:21 +00:00
|
|
|
target_link_libraries(cursorhotspottest Qt::Widgets)
|
2017-11-06 16:00:15 +00:00
|
|
|
|
2017-11-09 17:03:15 +00:00
|
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
2022-04-27 16:39:08 +00:00
|
|
|
|
2023-02-25 20:21:59 +00:00
|
|
|
add_executable(xdgactivationtest-qt6 xdgactivationtest-qt6.cpp)
|
|
|
|
target_link_libraries(xdgactivationtest-qt6 Qt6::Widgets)
|
2023-10-06 09:11:35 +00:00
|
|
|
|
|
|
|
set(testServer_SRCS
|
|
|
|
waylandservertest.cpp
|
|
|
|
fakeoutput.cpp
|
|
|
|
)
|
|
|
|
add_executable(testServer ${testServer_SRCS})
|
|
|
|
target_link_libraries(testServer kwin Qt::CorePrivate)
|
|
|
|
|
|
|
|
find_package(Qt6Widgets ${QT_MIN_VERSION} CONFIG QUIET)
|
|
|
|
if (TARGET Qt::Widgets)
|
|
|
|
set(testRenderingServer_SRCS
|
|
|
|
renderingservertest.cpp
|
|
|
|
fakeoutput.cpp
|
|
|
|
)
|
|
|
|
add_executable(testRenderingServer ${testRenderingServer_SRCS})
|
|
|
|
target_link_libraries(testRenderingServer kwin Qt::Core Qt::Widgets)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_executable(copyClient copyclient.cpp)
|
|
|
|
target_link_libraries(copyClient KF6::WaylandClient)
|
|
|
|
|
|
|
|
add_executable(pasteClient pasteclient.cpp)
|
|
|
|
target_link_libraries(pasteClient Qt::Core KF6::WaylandClient)
|
|
|
|
|
|
|
|
add_executable(touchClientTest touchclienttest.cpp)
|
|
|
|
target_link_libraries(touchClientTest KF6::WaylandClient)
|
|
|
|
|
|
|
|
add_executable(panelTest paneltest.cpp)
|
|
|
|
target_link_libraries(panelTest KF6::WaylandClient)
|
|
|
|
|
|
|
|
add_executable(subsurface-test subsurfacetest.cpp)
|
|
|
|
target_link_libraries(subsurface-test Qt::Core Qt::Gui KF6::WaylandClient)
|
|
|
|
|
|
|
|
add_executable(shadowTest shadowtest.cpp)
|
|
|
|
target_link_libraries(shadowTest KF6::WaylandClient)
|
|
|
|
|
|
|
|
if (TARGET Qt::Widgets)
|
|
|
|
add_executable(dpmsTest dpmstest.cpp)
|
|
|
|
target_link_libraries(dpmsTest KF6::WaylandClient Qt::Widgets)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_executable(plasmasurface-test plasmasurfacetest.cpp)
|
|
|
|
target_link_libraries(plasmasurface-test Qt::Gui KF6::WaylandClient)
|
|
|
|
|
|
|
|
add_executable(xdgforeign-test xdgforeigntest.cpp)
|
|
|
|
target_link_libraries(xdgforeign-test Qt::Gui KF6::WaylandClient)
|
|
|
|
|
|
|
|
add_executable(xdg-test xdgtest.cpp)
|
|
|
|
target_link_libraries(xdg-test Qt::Gui KF6::WaylandClient)
|