Changeset View
Changeset View
Standalone View
Standalone View
autotests/libinput/CMakeLists.txt
1 | include_directories(${Libinput_INCLUDE_DIRS}) | 1 | include_directories(${Libinput_INCLUDE_DIRS}) | ||
---|---|---|---|---|---|
2 | include_directories(${UDEV_INCLUDE_DIR}) | 2 | include_directories(${UDEV_INCLUDE_DIR}) | ||
3 | 3 | | |||
4 | add_library(LibInputTestObjects OBJECT ../../libinput/device.cpp ../../libinput/events.cpp mock_libinput.cpp) | 4 | add_library(LibInputTestObjects STATIC ../../libinput/device.cpp ../../libinput/events.cpp mock_libinput.cpp) | ||
5 | target_link_libraries(LibInputTestObjects Qt5::Test Qt5::Widgets Qt5::DBus Qt5::Gui KF5::ConfigCore) | 5 | target_link_libraries(LibInputTestObjects Qt5::Test Qt5::Widgets Qt5::DBus Qt5::Gui KF5::ConfigCore) | ||
6 | 6 | | |||
7 | ######################################################## | 7 | ######################################################## | ||
8 | # Test Devices | 8 | # Test Devices | ||
9 | ######################################################## | 9 | ######################################################## | ||
10 | add_executable(testLibinputDevice device_test.cpp) | 10 | add_executable(testLibinputDevice device_test.cpp) | ||
11 | target_link_libraries(testLibinputDevice Qt5::Test Qt5::DBus Qt5::Gui KF5::ConfigCore LibInputTestObjects) | 11 | target_link_libraries(testLibinputDevice Qt5::Test Qt5::DBus Qt5::Gui KF5::ConfigCore LibInputTestObjects) | ||
12 | add_test(NAME kwin-testLibinputDevice COMMAND testLibinputDevice) | 12 | add_test(NAME kwin-testLibinputDevice COMMAND testLibinputDevice) | ||
▲ Show 20 Lines • Show All 73 Lines • Show Last 20 Lines |