Warning, /plasma/kwin/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 set(normalhintsbasesizetest_SRCS normalhintsbasesizetest.cpp)
0002 add_executable(normalhintsbasesizetest ${normalhintsbasesizetest_SRCS})
0003 target_link_libraries(normalhintsbasesizetest XCB::XCB XCB::ICCCM KF6::WindowSystem)
0004 
0005 # next target
0006 set(screenedgeshowtest_SRCS screenedgeshowtest.cpp)
0007 add_executable(screenedgeshowtest ${screenedgeshowtest_SRCS})
0008 target_link_libraries(screenedgeshowtest Qt::GuiPrivate Qt::Widgets KF6::ConfigCore KF6::WindowSystem Plasma::KWaylandClient ${XCB_XCB_LIBRARY})
0009 
0010 add_executable(x11shadowreader x11shadowreader.cpp)
0011 target_link_libraries(x11shadowreader XCB::XCB Qt::GuiPrivate Qt::Widgets KF6::ConfigCore KF6::WindowSystem)
0012 
0013 add_executable(pointerconstraints pointerconstraintstest.cpp)
0014 add_definitions(-DDIR="${CMAKE_CURRENT_SOURCE_DIR}")
0015 target_link_libraries(pointerconstraints XCB::XCB Qt::Gui Qt::Quick Plasma::KWaylandClient)
0016 
0017 add_executable(pointergestures pointergesturestest.cpp)
0018 add_definitions(-DDIR="${CMAKE_CURRENT_SOURCE_DIR}")
0019 target_link_libraries(pointergestures Qt::Gui Qt::Quick Plasma::KWaylandClient)
0020 
0021 add_executable(cursorhotspottest cursorhotspottest.cpp)
0022 target_link_libraries(cursorhotspottest Qt::Widgets)
0023 
0024 include_directories(${CMAKE_CURRENT_BINARY_DIR})
0025 
0026 add_executable(xdgactivationtest-qt6 xdgactivationtest-qt6.cpp)
0027 target_link_libraries(xdgactivationtest-qt6 Qt6::Widgets)
0028 
0029 set(testServer_SRCS
0030     waylandservertest.cpp
0031     fakeoutput.cpp
0032     )
0033 add_executable(testServer ${testServer_SRCS})
0034 target_link_libraries(testServer kwin Qt::CorePrivate)
0035 
0036 find_package(Qt6Widgets ${QT_MIN_VERSION} CONFIG QUIET)
0037 if (TARGET Qt::Widgets)
0038     set(testRenderingServer_SRCS
0039         renderingservertest.cpp
0040         fakeoutput.cpp
0041         )
0042     add_executable(testRenderingServer ${testRenderingServer_SRCS})
0043     target_link_libraries(testRenderingServer kwin Qt::Core Qt::Widgets)
0044 endif()
0045 
0046 add_executable(copyClient copyclient.cpp)
0047 target_link_libraries(copyClient Plasma::KWaylandClient)
0048 
0049 add_executable(pasteClient pasteclient.cpp)
0050 target_link_libraries(pasteClient Qt::Core Plasma::KWaylandClient)
0051 
0052 add_executable(touchClientTest touchclienttest.cpp)
0053 target_link_libraries(touchClientTest Plasma::KWaylandClient)
0054 
0055 add_executable(panelTest paneltest.cpp)
0056 target_link_libraries(panelTest Plasma::KWaylandClient)
0057 
0058 add_executable(subsurface-test subsurfacetest.cpp)
0059 target_link_libraries(subsurface-test Qt::Core Qt::Gui Plasma::KWaylandClient)
0060 
0061 add_executable(shadowTest shadowtest.cpp)
0062 target_link_libraries(shadowTest Plasma::KWaylandClient)
0063 
0064 if (TARGET Qt::Widgets)
0065     add_executable(dpmsTest dpmstest.cpp)
0066     target_link_libraries(dpmsTest Plasma::KWaylandClient Qt::Widgets)
0067 endif()
0068 
0069 add_executable(plasmasurface-test plasmasurfacetest.cpp)
0070 target_link_libraries(plasmasurface-test Qt::Gui Plasma::KWaylandClient)
0071 
0072 add_executable(xdgforeign-test xdgforeigntest.cpp)
0073 target_link_libraries(xdgforeign-test Qt::Gui Plasma::KWaylandClient)
0074 
0075 add_executable(xdg-test xdgtest.cpp)
0076 target_link_libraries(xdg-test Qt::Gui Plasma::KWaylandClient)