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 | if (KF5Wayland_FOUND) | | |||
13 | add_definitions(-DSOURCE_DIR="${KWIN_SOURCE_DIR}") | | |||
14 | set(waylandclienttest_SRCS waylandclienttest.cpp) | | |||
15 | add_executable(waylandclienttest ${waylandclienttest_SRCS}) | | |||
16 | target_link_libraries(waylandclienttest Qt5::Core Qt5::Gui KF5::WaylandClient) | | |||
17 | endif() | | |||
18 | | ||||
19 | set(libinputtest_SRCS | 12 | set(libinputtest_SRCS | ||
20 | ${KWIN_SOURCE_DIR}/libinput/connection.cpp | 13 | ${KWIN_SOURCE_DIR}/libinput/connection.cpp | ||
21 | ${KWIN_SOURCE_DIR}/libinput/context.cpp | 14 | ${KWIN_SOURCE_DIR}/libinput/context.cpp | ||
22 | ${KWIN_SOURCE_DIR}/libinput/device.cpp | 15 | ${KWIN_SOURCE_DIR}/libinput/device.cpp | ||
23 | ${KWIN_SOURCE_DIR}/libinput/events.cpp | 16 | ${KWIN_SOURCE_DIR}/libinput/events.cpp | ||
24 | ${KWIN_SOURCE_DIR}/libinput/libinput_logging.cpp | 17 | ${KWIN_SOURCE_DIR}/libinput/libinput_logging.cpp | ||
25 | ${KWIN_SOURCE_DIR}/logind.cpp | 18 | ${KWIN_SOURCE_DIR}/logind.cpp | ||
26 | ${KWIN_SOURCE_DIR}/udev.cpp | 19 | ${KWIN_SOURCE_DIR}/udev.cpp | ||
Show All 28 Lines |