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})
|
2014-03-18 13:38:00 +00:00
|
|
|
target_link_libraries(screenedgeshowtest Qt5::Widgets Qt5::X11Extras KF5::WindowSystem ${XCB_XCB_LIBRARY})
|
2014-08-21 10:57:50 +00:00
|
|
|
|
2015-03-23 08:54:37 +00:00
|
|
|
if (KF5Wayland_FOUND)
|
2014-08-21 10:57:50 +00:00
|
|
|
add_definitions(-DSOURCE_DIR="${KWIN_SOURCE_DIR}")
|
|
|
|
set(waylandclienttest_SRCS
|
|
|
|
waylandclienttest.cpp
|
|
|
|
)
|
|
|
|
add_executable(waylandclienttest ${waylandclienttest_SRCS})
|
2015-03-23 08:54:37 +00:00
|
|
|
target_link_libraries(waylandclienttest Qt5::Core Qt5::Gui KF5::WaylandClient)
|
2014-08-21 10:57:50 +00:00
|
|
|
endif()
|
2014-08-14 12:43:57 +00:00
|
|
|
|
|
|
|
if (HAVE_INPUT)
|
|
|
|
set(libinputtest_SRCS
|
|
|
|
libinputtest.cpp
|
|
|
|
${KWIN_SOURCE_DIR}/libinput/context.cpp
|
|
|
|
${KWIN_SOURCE_DIR}/libinput/connection.cpp
|
|
|
|
${KWIN_SOURCE_DIR}/libinput/events.cpp
|
2014-08-15 07:30:08 +00:00
|
|
|
${KWIN_SOURCE_DIR}/logind.cpp
|
2014-08-14 12:43:57 +00:00
|
|
|
)
|
|
|
|
add_executable(libinputtest ${libinputtest_SRCS})
|
2014-12-05 10:42:15 +00:00
|
|
|
target_link_libraries(libinputtest Qt5::Core Qt5::DBus Libinput::Libinput ${UDEV_LIBS} KF5::WindowSystem)
|
2014-08-14 12:43:57 +00:00
|
|
|
endif()
|