Changeset View
Changeset View
Standalone View
Standalone View
tests/CMakeLists.txt
Show All 12 Lines | 12 | if (KF5Wayland_FOUND) | |||
---|---|---|---|---|---|
13 | add_definitions(-DSOURCE_DIR="${KWIN_SOURCE_DIR}") | 13 | add_definitions(-DSOURCE_DIR="${KWIN_SOURCE_DIR}") | ||
14 | set(waylandclienttest_SRCS | 14 | set(waylandclienttest_SRCS | ||
15 | waylandclienttest.cpp | 15 | waylandclienttest.cpp | ||
16 | ) | 16 | ) | ||
17 | add_executable(waylandclienttest ${waylandclienttest_SRCS}) | 17 | add_executable(waylandclienttest ${waylandclienttest_SRCS}) | ||
18 | target_link_libraries(waylandclienttest Qt5::Core Qt5::Gui KF5::WaylandClient) | 18 | target_link_libraries(waylandclienttest Qt5::Core Qt5::Gui KF5::WaylandClient) | ||
19 | endif() | 19 | endif() | ||
20 | 20 | | |||
21 | if (HAVE_INPUT) | | |||
22 | set(libinputtest_SRCS | 21 | set(libinputtest_SRCS | ||
23 | libinputtest.cpp | 22 | libinputtest.cpp | ||
24 | ${KWIN_SOURCE_DIR}/libinput/context.cpp | 23 | ${KWIN_SOURCE_DIR}/libinput/context.cpp | ||
25 | ${KWIN_SOURCE_DIR}/libinput/connection.cpp | 24 | ${KWIN_SOURCE_DIR}/libinput/connection.cpp | ||
26 | ${KWIN_SOURCE_DIR}/libinput/device.cpp | 25 | ${KWIN_SOURCE_DIR}/libinput/device.cpp | ||
27 | ${KWIN_SOURCE_DIR}/libinput/events.cpp | 26 | ${KWIN_SOURCE_DIR}/libinput/events.cpp | ||
28 | ${KWIN_SOURCE_DIR}/libinput/libinput_logging.cpp | 27 | ${KWIN_SOURCE_DIR}/libinput/libinput_logging.cpp | ||
29 | ${KWIN_SOURCE_DIR}/logind.cpp | 28 | ${KWIN_SOURCE_DIR}/logind.cpp | ||
30 | ${KWIN_SOURCE_DIR}/udev.cpp | 29 | ${KWIN_SOURCE_DIR}/udev.cpp | ||
31 | ) | 30 | ) | ||
32 | add_executable(libinputtest ${libinputtest_SRCS}) | 31 | add_executable(libinputtest ${libinputtest_SRCS}) | ||
33 | add_definitions(-DKWIN_BUILD_TESTING) | 32 | add_definitions(-DKWIN_BUILD_TESTING) | ||
34 | 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) | ||
35 | endif() | | |||
36 | 34 | | |||
37 | add_executable(x11shadowreader x11shadowreader.cpp) | 35 | add_executable(x11shadowreader x11shadowreader.cpp) | ||
38 | 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) | ||
39 | 37 | | |||
40 | add_executable(pointergestures pointergesturestest.cpp) | 38 | add_executable(pointergestures pointergesturestest.cpp) | ||
41 | add_definitions(-DDIR="${CMAKE_CURRENT_SOURCE_DIR}") | 39 | add_definitions(-DDIR="${CMAKE_CURRENT_SOURCE_DIR}") | ||
42 | target_link_libraries(pointergestures Qt5::Gui Qt5::Quick KF5::WaylandClient) | 40 | target_link_libraries(pointergestures Qt5::Gui Qt5::Quick KF5::WaylandClient) | ||
43 | 41 | | |||
Show All 11 Lines |