Changeset View
Changeset View
Standalone View
Standalone View
tests/CMakeLists.txt
1 | if (XCB_ICCCM_FOUND) | 1 | if (XCB_ICCCM_FOUND) | ||
---|---|---|---|---|---|
2 | set(normalhintsbasesizetest_SRCS normalhintsbasesizetest.cpp) | 2 | set(normalhintsbasesizetest_SRCS normalhintsbasesizetest.cpp) | ||
3 | add_executable(normalhintsbasesizetest ${normalhintsbasesizetest_SRCS}) | 3 | add_executable(normalhintsbasesizetest ${normalhintsbasesizetest_SRCS}) | ||
4 | target_link_libraries(normalhintsbasesizetest XCB::XCB XCB::ICCCM KF5::WindowSystem) | 4 | target_link_libraries(normalhintsbasesizetest XCB::XCB XCB::ICCCM KF5::WindowSystem) | ||
5 | endif() | 5 | endif() | ||
6 | 6 | | |||
7 | # next target | 7 | # next target | ||
8 | set(screenedgeshowtest_SRCS screenedgeshowtest.cpp) | 8 | set(screenedgeshowtest_SRCS screenedgeshowtest.cpp) | ||
9 | add_executable(screenedgeshowtest ${screenedgeshowtest_SRCS}) | 9 | add_executable(screenedgeshowtest ${screenedgeshowtest_SRCS}) | ||
10 | target_link_libraries(screenedgeshowtest Qt5::Widgets Qt5::X11Extras KF5::ConfigCore KF5::WindowSystem KF5::WaylandClient ${XCB_XCB_LIBRARY}) | 10 | target_link_libraries(screenedgeshowtest Qt5::Widgets Qt5::X11Extras KF5::ConfigCore KF5::WindowSystem KF5::WaylandClient ${XCB_XCB_LIBRARY}) | ||
11 | 11 | | |||
12 | set(libinputtest_SRCS | 12 | set(libinputtest_SRCS | ||
13 | ${KWIN_SOURCE_DIR}/libinput/connection.cpp | 13 | ${KWin_SOURCE_DIR}/libinput/connection.cpp | ||
14 | ${KWIN_SOURCE_DIR}/libinput/context.cpp | 14 | ${KWin_SOURCE_DIR}/libinput/context.cpp | ||
15 | ${KWIN_SOURCE_DIR}/libinput/device.cpp | 15 | ${KWin_SOURCE_DIR}/libinput/device.cpp | ||
16 | ${KWIN_SOURCE_DIR}/libinput/events.cpp | 16 | ${KWin_SOURCE_DIR}/libinput/events.cpp | ||
17 | ${KWIN_SOURCE_DIR}/libinput/libinput_logging.cpp | 17 | ${KWin_SOURCE_DIR}/libinput/libinput_logging.cpp | ||
18 | ${KWIN_SOURCE_DIR}/logind.cpp | 18 | ${KWin_SOURCE_DIR}/logind.cpp | ||
19 | ${KWIN_SOURCE_DIR}/udev.cpp | 19 | ${KWin_SOURCE_DIR}/udev.cpp | ||
20 | libinputtest.cpp | 20 | libinputtest.cpp | ||
21 | ) | 21 | ) | ||
22 | add_executable(libinputtest ${libinputtest_SRCS}) | 22 | add_executable(libinputtest ${libinputtest_SRCS}) | ||
23 | add_definitions(-DKWIN_BUILD_TESTING) | 23 | add_definitions(-DKWIN_BUILD_TESTING) | ||
24 | target_link_libraries(libinputtest Qt5::Core Qt5::DBus Libinput::Libinput ${UDEV_LIBS} KF5::ConfigCore KF5::GlobalAccel KF5::WindowSystem) | 24 | target_link_libraries(libinputtest Qt5::Core Qt5::DBus Libinput::Libinput ${UDEV_LIBS} KF5::ConfigCore KF5::GlobalAccel KF5::WindowSystem) | ||
25 | 25 | | |||
26 | add_executable(x11shadowreader x11shadowreader.cpp) | 26 | add_executable(x11shadowreader x11shadowreader.cpp) | ||
27 | target_link_libraries(x11shadowreader XCB::XCB Qt5::Widgets Qt5::X11Extras KF5::ConfigCore KF5::WindowSystem) | 27 | target_link_libraries(x11shadowreader XCB::XCB Qt5::Widgets Qt5::X11Extras KF5::ConfigCore KF5::WindowSystem) | ||
Show All 20 Lines |