Changeset View
Changeset View
Standalone View
Standalone View
autotests/libinput/CMakeLists.txt
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Line(s) | |||||
63 | add_executable(testLibinputGestureEvent ${testLibinputGestureEvent_SRCS}) | 63 | add_executable(testLibinputGestureEvent ${testLibinputGestureEvent_SRCS}) | ||
64 | target_link_libraries( testLibinputGestureEvent Qt5::Test Qt5::DBus Qt5::Widgets KF5::ConfigCore) | 64 | target_link_libraries( testLibinputGestureEvent Qt5::Test Qt5::DBus Qt5::Widgets KF5::ConfigCore) | ||
65 | add_test(NAME kwin-testLibinputGestureEvent COMMAND testLibinputGestureEvent) | 65 | add_test(NAME kwin-testLibinputGestureEvent COMMAND testLibinputGestureEvent) | ||
66 | ecm_mark_as_test(testLibinputGestureEvent) | 66 | ecm_mark_as_test(testLibinputGestureEvent) | ||
67 | 67 | | |||
68 | ######################################################## | 68 | ######################################################## | ||
69 | # Test Switch Event | 69 | # Test Switch Event | ||
70 | ######################################################## | 70 | ######################################################## | ||
71 | if(HAVE_INPUT_1_9) | | |||
72 | set( testLibinputSwitchEvent_SRCS | 71 | set( testLibinputSwitchEvent_SRCS | ||
73 | switch_event_test.cpp | 72 | switch_event_test.cpp | ||
74 | mock_libinput.cpp | 73 | mock_libinput.cpp | ||
75 | ../../libinput/device.cpp | 74 | ../../libinput/device.cpp | ||
76 | ../../libinput/events.cpp | 75 | ../../libinput/events.cpp | ||
77 | ) | 76 | ) | ||
78 | add_executable(testLibinputSwitchEvent ${testLibinputSwitchEvent_SRCS}) | 77 | add_executable(testLibinputSwitchEvent ${testLibinputSwitchEvent_SRCS}) | ||
79 | target_link_libraries(testLibinputSwitchEvent Qt5::Test Qt5::DBus Qt5::Widgets KF5::ConfigCore) | 78 | target_link_libraries(testLibinputSwitchEvent Qt5::Test Qt5::DBus Qt5::Widgets KF5::ConfigCore) | ||
80 | add_test(NAME kwin-testLibinputSwitchEvent COMMAND testLibinputSwitchEvent) | 79 | add_test(NAME kwin-testLibinputSwitchEvent COMMAND testLibinputSwitchEvent) | ||
81 | ecm_mark_as_test(testLibinputSwitchEvent) | 80 | ecm_mark_as_test(testLibinputSwitchEvent) | ||
82 | endif() | | |||
83 | 81 | | |||
84 | ######################################################## | 82 | ######################################################## | ||
85 | # Test Context | 83 | # Test Context | ||
86 | ######################################################## | 84 | ######################################################## | ||
87 | set( testLibinputContext_SRCS | 85 | set( testLibinputContext_SRCS | ||
88 | context_test.cpp | 86 | context_test.cpp | ||
89 | mock_libinput.cpp | 87 | mock_libinput.cpp | ||
90 | mock_udev.cpp | 88 | mock_udev.cpp | ||
Show All 25 Lines |