2017-05-03 12:40:19 +02:00
|
|
|
include_directories(
|
|
|
|
${DRM_INCLUDE_DIRS}
|
2017-06-07 17:05:31 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
2017-06-13 03:53:41 +02:00
|
|
|
${XKBCOMMON_INCLUDE_DIRS}
|
2017-05-03 12:40:19 +02:00
|
|
|
)
|
|
|
|
|
2017-06-06 17:19:42 +02:00
|
|
|
add_executable(simple
|
|
|
|
simple.c
|
2017-06-13 16:13:11 +02:00
|
|
|
shared.c
|
2017-04-25 21:06:58 +02:00
|
|
|
)
|
|
|
|
|
2017-06-06 17:19:42 +02:00
|
|
|
target_link_libraries(simple
|
2017-04-25 21:06:58 +02:00
|
|
|
wlr-backend
|
2017-05-03 06:23:07 +02:00
|
|
|
wlr-session
|
2017-06-13 03:53:41 +02:00
|
|
|
${XKBCOMMON_LIBRARIES}
|
2017-05-02 08:13:17 +02:00
|
|
|
)
|
2017-06-05 12:48:51 +02:00
|
|
|
|
|
|
|
add_executable(rotation
|
|
|
|
rotation.c
|
2017-06-13 16:13:11 +02:00
|
|
|
shared.c
|
2017-06-07 17:05:31 +02:00
|
|
|
cat.c
|
2017-06-05 12:48:51 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(rotation
|
|
|
|
wlr-backend
|
|
|
|
wlr-session
|
2017-06-08 03:35:07 +02:00
|
|
|
wlr-render
|
2017-06-13 03:53:41 +02:00
|
|
|
${XKBCOMMON_LIBRARIES}
|
2017-06-05 12:48:51 +02:00
|
|
|
)
|
2017-06-13 18:21:36 +02:00
|
|
|
|
|
|
|
add_executable(pointer
|
|
|
|
pointer.c
|
|
|
|
shared.c
|
|
|
|
cat.c
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(pointer
|
|
|
|
wlr-backend
|
|
|
|
wlr-session
|
|
|
|
wlr-render
|
|
|
|
${XKBCOMMON_LIBRARIES}
|
|
|
|
)
|
2017-06-14 20:50:09 +02:00
|
|
|
|
|
|
|
add_executable(touch
|
|
|
|
touch.c
|
|
|
|
shared.c
|
|
|
|
cat.c
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(touch
|
|
|
|
wlr-backend
|
|
|
|
wlr-session
|
|
|
|
wlr-render
|
|
|
|
${XKBCOMMON_LIBRARIES}
|
|
|
|
)
|
2017-06-15 21:31:13 +02:00
|
|
|
|
|
|
|
add_executable(tablet
|
|
|
|
tablet.c
|
|
|
|
shared.c
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(tablet
|
|
|
|
wlr-backend
|
|
|
|
wlr-session
|
|
|
|
wlr-render
|
|
|
|
${XKBCOMMON_LIBRARIES}
|
|
|
|
)
|