2023-12-15 16:58:46 +00:00
|
|
|
if(KWIN_BUILD_X11)
|
|
|
|
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
|
|
|
|
2023-12-15 16:58:46 +00:00
|
|
|
# next target
|
|
|
|
set(screenedgeshowtest_SRCS screenedgeshowtest.cpp)
|
|
|
|
add_executable(screenedgeshowtest ${screenedgeshowtest_SRCS})
|
|
|
|
target_link_libraries(screenedgeshowtest Qt::GuiPrivate Qt::Widgets KF6::ConfigCore KF6::WindowSystem Plasma::KWaylandClient ${XCB_XCB_LIBRARY})
|
2014-08-21 10:57:50 +00:00
|
|
|
|
2023-12-15 16:58:46 +00:00
|
|
|
add_executable(x11shadowreader x11shadowreader.cpp)
|
|
|
|
target_link_libraries(x11shadowreader XCB::XCB Qt::GuiPrivate Qt::Widgets KF6::ConfigCore KF6::WindowSystem)
|
2016-10-27 07:10:08 +00:00
|
|
|
|
2023-12-15 16:58:46 +00:00
|
|
|
add_executable(pointerconstraints pointerconstraintstest.cpp)
|
|
|
|
add_definitions(-DDIR="${CMAKE_CURRENT_SOURCE_DIR}")
|
|
|
|
target_link_libraries(pointerconstraints XCB::XCB Qt::Gui Qt::Quick Plasma::KWaylandClient)
|
|
|
|
endif()
|
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-11-23 19:34:24 +00:00
|
|
|
target_link_libraries(pointergestures Qt::Gui Qt::Quick Plasma::KWaylandClient)
|
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)
|
2023-11-23 19:34:24 +00:00
|
|
|
target_link_libraries(copyClient Plasma::KWaylandClient)
|
2023-10-06 09:11:35 +00:00
|
|
|
|
|
|
|
add_executable(pasteClient pasteclient.cpp)
|
2023-11-23 19:34:24 +00:00
|
|
|
target_link_libraries(pasteClient Qt::Core Plasma::KWaylandClient)
|
2023-10-06 09:11:35 +00:00
|
|
|
|
|
|
|
add_executable(touchClientTest touchclienttest.cpp)
|
2023-11-23 19:34:24 +00:00
|
|
|
target_link_libraries(touchClientTest Plasma::KWaylandClient)
|
2023-10-06 09:11:35 +00:00
|
|
|
|
|
|
|
add_executable(panelTest paneltest.cpp)
|
2023-11-23 19:34:24 +00:00
|
|
|
target_link_libraries(panelTest Plasma::KWaylandClient)
|
2023-10-06 09:11:35 +00:00
|
|
|
|
|
|
|
add_executable(subsurface-test subsurfacetest.cpp)
|
2023-11-23 19:34:24 +00:00
|
|
|
target_link_libraries(subsurface-test Qt::Core Qt::Gui Plasma::KWaylandClient)
|
2023-10-06 09:11:35 +00:00
|
|
|
|
|
|
|
add_executable(shadowTest shadowtest.cpp)
|
2023-11-23 19:34:24 +00:00
|
|
|
target_link_libraries(shadowTest Plasma::KWaylandClient)
|
2023-10-06 09:11:35 +00:00
|
|
|
|
|
|
|
if (TARGET Qt::Widgets)
|
|
|
|
add_executable(dpmsTest dpmstest.cpp)
|
2023-11-23 19:34:24 +00:00
|
|
|
target_link_libraries(dpmsTest Plasma::KWaylandClient Qt::Widgets)
|
2023-10-06 09:11:35 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
add_executable(plasmasurface-test plasmasurfacetest.cpp)
|
2023-11-23 19:34:24 +00:00
|
|
|
target_link_libraries(plasmasurface-test Qt::Gui Plasma::KWaylandClient)
|
2023-10-06 09:11:35 +00:00
|
|
|
|
|
|
|
add_executable(xdgforeign-test xdgforeigntest.cpp)
|
2023-11-23 19:34:24 +00:00
|
|
|
target_link_libraries(xdgforeign-test Qt::Gui Plasma::KWaylandClient)
|
2023-10-06 09:11:35 +00:00
|
|
|
|
|
|
|
add_executable(xdg-test xdgtest.cpp)
|
2023-11-23 19:34:24 +00:00
|
|
|
target_link_libraries(xdg-test Qt::Gui Plasma::KWaylandClient)
|