2014-01-30 14:28:12 +00:00
|
|
|
if (XCB_ICCCM_FOUND)
|
|
|
|
set(normalhintsbasesizetest_SRCS normalhintsbasesizetest.cpp)
|
|
|
|
add_executable(normalhintsbasesizetest ${normalhintsbasesizetest_SRCS})
|
2014-03-18 16:53:22 +00:00
|
|
|
target_link_libraries(normalhintsbasesizetest XCB::XCB XCB::ICCCM KF5::WindowSystem)
|
2014-01-30 14:28:12 +00:00
|
|
|
endif()
|
2014-02-20 11:39:23 +00:00
|
|
|
|
|
|
|
# next target
|
|
|
|
set(screenedgeshowtest_SRCS screenedgeshowtest.cpp)
|
|
|
|
add_executable(screenedgeshowtest ${screenedgeshowtest_SRCS})
|
2016-10-17 09:17:48 +00:00
|
|
|
target_link_libraries(screenedgeshowtest Qt5::Widgets Qt5::X11Extras KF5::ConfigCore KF5::WindowSystem KF5::WaylandClient ${XCB_XCB_LIBRARY})
|
2014-08-21 10:57:50 +00:00
|
|
|
|
2018-01-23 16:28:18 +00:00
|
|
|
set(libinputtest_SRCS
|
2020-01-07 16:26:28 +00:00
|
|
|
${KWin_SOURCE_DIR}/libinput/connection.cpp
|
|
|
|
${KWin_SOURCE_DIR}/libinput/context.cpp
|
|
|
|
${KWin_SOURCE_DIR}/libinput/device.cpp
|
|
|
|
${KWin_SOURCE_DIR}/libinput/events.cpp
|
|
|
|
${KWin_SOURCE_DIR}/libinput/libinput_logging.cpp
|
|
|
|
${KWin_SOURCE_DIR}/logind.cpp
|
|
|
|
${KWin_SOURCE_DIR}/udev.cpp
|
2019-09-17 09:15:35 +00:00
|
|
|
libinputtest.cpp
|
2018-01-23 16:28:18 +00:00
|
|
|
)
|
|
|
|
add_executable(libinputtest ${libinputtest_SRCS})
|
|
|
|
add_definitions(-DKWIN_BUILD_TESTING)
|
|
|
|
target_link_libraries(libinputtest Qt5::Core Qt5::DBus Libinput::Libinput ${UDEV_LIBS} KF5::ConfigCore KF5::GlobalAccel KF5::WindowSystem)
|
2016-07-06 11:32:38 +00:00
|
|
|
|
|
|
|
add_executable(x11shadowreader x11shadowreader.cpp)
|
|
|
|
target_link_libraries(x11shadowreader XCB::XCB Qt5::Widgets Qt5::X11Extras KF5::ConfigCore KF5::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}")
|
|
|
|
target_link_libraries(pointerconstraints XCB::XCB Qt5::Gui Qt5::Quick KF5::WaylandClient)
|
|
|
|
|
2016-10-27 07:10:08 +00:00
|
|
|
add_executable(pointergestures pointergesturestest.cpp)
|
|
|
|
add_definitions(-DDIR="${CMAKE_CURRENT_SOURCE_DIR}")
|
|
|
|
target_link_libraries(pointergestures Qt5::Gui Qt5::Quick KF5::WaylandClient)
|
2017-11-05 16:09:49 +00:00
|
|
|
|
|
|
|
add_executable(cursorhotspottest cursorhotspottest.cpp)
|
|
|
|
target_link_libraries(cursorhotspottest Qt5::Widgets)
|
2017-11-06 16:00:15 +00:00
|
|
|
|
2017-11-09 17:03:15 +00:00
|
|
|
include_directories(${CMAKE_CURRENT_BINARY_DIR})
|
2019-09-17 09:15:35 +00:00
|
|
|
set(orientationtest_SRCS
|
2017-11-09 17:03:15 +00:00
|
|
|
../orientation_sensor.cpp
|
2019-09-17 09:15:35 +00:00
|
|
|
orientationtest.cpp
|
2017-11-09 17:03:15 +00:00
|
|
|
)
|
2019-09-17 09:15:35 +00:00
|
|
|
qt5_add_dbus_adaptor(orientationtest_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../org.kde.kwin.OrientationSensor.xml ${CMAKE_CURRENT_SOURCE_DIR}/../orientation_sensor.h KWin::OrientationSensor)
|
2017-11-09 17:03:15 +00:00
|
|
|
add_executable(orientationtest ${orientationtest_SRCS})
|
|
|
|
target_link_libraries(orientationtest Qt5::DBus Qt5::Widgets Qt5::Sensors KF5::ConfigCore KF5::Notifications KF5::I18n)
|