Changeset View
Changeset View
Standalone View
Standalone View
tests/CMakeLists.txt
Show All 29 Lines | |||||
30 | ) | 30 | ) | ||
31 | add_executable(libinputtest ${libinputtest_SRCS}) | 31 | add_executable(libinputtest ${libinputtest_SRCS}) | ||
32 | add_definitions(-DKWIN_BUILD_TESTING) | 32 | add_definitions(-DKWIN_BUILD_TESTING) | ||
33 | target_link_libraries(libinputtest Qt5::Core Qt5::DBus Libinput::Libinput ${UDEV_LIBS} KF5::ConfigCore KF5::GlobalAccel KF5::WindowSystem) | 33 | target_link_libraries(libinputtest Qt5::Core Qt5::DBus Libinput::Libinput ${UDEV_LIBS} KF5::ConfigCore KF5::GlobalAccel KF5::WindowSystem) | ||
34 | 34 | | |||
35 | add_executable(x11shadowreader x11shadowreader.cpp) | 35 | add_executable(x11shadowreader x11shadowreader.cpp) | ||
36 | target_link_libraries(x11shadowreader XCB::XCB Qt5::Widgets Qt5::X11Extras KF5::ConfigCore KF5::WindowSystem) | 36 | target_link_libraries(x11shadowreader XCB::XCB Qt5::Widgets Qt5::X11Extras KF5::ConfigCore KF5::WindowSystem) | ||
37 | 37 | | |||
38 | add_executable(pointerconstraints pointerconstraintstest.cpp) | ||||
39 | add_definitions(-DDIR="${CMAKE_CURRENT_SOURCE_DIR}") | ||||
40 | target_link_libraries(pointerconstraints XCB::XCB Qt5::Gui Qt5::Quick KF5::WaylandClient) | ||||
41 | | ||||
38 | add_executable(pointergestures pointergesturestest.cpp) | 42 | add_executable(pointergestures pointergesturestest.cpp) | ||
39 | add_definitions(-DDIR="${CMAKE_CURRENT_SOURCE_DIR}") | 43 | add_definitions(-DDIR="${CMAKE_CURRENT_SOURCE_DIR}") | ||
40 | target_link_libraries(pointergestures Qt5::Gui Qt5::Quick KF5::WaylandClient) | 44 | target_link_libraries(pointergestures Qt5::Gui Qt5::Quick KF5::WaylandClient) | ||
41 | 45 | | |||
42 | add_executable(cursorhotspottest cursorhotspottest.cpp) | 46 | add_executable(cursorhotspottest cursorhotspottest.cpp) | ||
43 | target_link_libraries(cursorhotspottest Qt5::Widgets) | 47 | target_link_libraries(cursorhotspottest Qt5::Widgets) | ||
44 | 48 | | |||
45 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | 49 | include_directories(${CMAKE_CURRENT_BINARY_DIR}) | ||
46 | set( orientationtest_SRCS | 50 | set( orientationtest_SRCS | ||
47 | orientationtest.cpp | 51 | orientationtest.cpp | ||
48 | ../orientation_sensor.cpp | 52 | ../orientation_sensor.cpp | ||
49 | ) | 53 | ) | ||
50 | qt5_add_dbus_adaptor( orientationtest_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../org.kde.kwin.OrientationSensor.xml ${CMAKE_CURRENT_SOURCE_DIR}/../orientation_sensor.h KWin::OrientationSensor) | 54 | qt5_add_dbus_adaptor( orientationtest_SRCS ${CMAKE_CURRENT_SOURCE_DIR}/../org.kde.kwin.OrientationSensor.xml ${CMAKE_CURRENT_SOURCE_DIR}/../orientation_sensor.h KWin::OrientationSensor) | ||
51 | add_executable(orientationtest ${orientationtest_SRCS}) | 55 | add_executable(orientationtest ${orientationtest_SRCS}) | ||
52 | target_link_libraries(orientationtest Qt5::DBus Qt5::Widgets Qt5::Sensors KF5::ConfigCore KF5::Notifications KF5::I18n) | 56 | target_link_libraries(orientationtest Qt5::DBus Qt5::Widgets Qt5::Sensors KF5::ConfigCore KF5::Notifications KF5::I18n) |