2017-05-03 10:40:19 +00:00
|
|
|
include_directories(
|
|
|
|
${DRM_INCLUDE_DIRS}
|
2017-06-07 15:05:31 +00:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}
|
2017-06-13 01:53:41 +00:00
|
|
|
${XKBCOMMON_INCLUDE_DIRS}
|
2017-05-03 10:40:19 +00:00
|
|
|
)
|
|
|
|
|
2017-06-06 15:19:42 +00:00
|
|
|
add_executable(simple
|
|
|
|
simple.c
|
2017-06-13 14:13:11 +00:00
|
|
|
shared.c
|
2017-04-25 19:06:58 +00:00
|
|
|
)
|
|
|
|
|
2017-06-06 15:19:42 +00:00
|
|
|
target_link_libraries(simple
|
2017-04-25 19:06:58 +00:00
|
|
|
wlr-backend
|
2017-05-03 04:23:07 +00:00
|
|
|
wlr-session
|
2017-06-13 01:53:41 +00:00
|
|
|
${XKBCOMMON_LIBRARIES}
|
2017-05-02 06:13:17 +00:00
|
|
|
)
|
2017-06-05 10:48:51 +00:00
|
|
|
|
|
|
|
add_executable(rotation
|
|
|
|
rotation.c
|
2017-06-13 14:13:11 +00:00
|
|
|
shared.c
|
2017-06-07 15:05:31 +00:00
|
|
|
cat.c
|
2017-06-05 10:48:51 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(rotation
|
|
|
|
wlr-backend
|
|
|
|
wlr-session
|
2017-06-08 01:35:07 +00:00
|
|
|
wlr-render
|
2017-06-13 01:53:41 +00:00
|
|
|
${XKBCOMMON_LIBRARIES}
|
2017-06-05 10:48:51 +00:00
|
|
|
)
|
2017-06-13 16:21:36 +00: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 18:50:09 +00: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 19:31:13 +00:00
|
|
|
|
|
|
|
add_executable(tablet
|
|
|
|
tablet.c
|
|
|
|
shared.c
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(tablet
|
|
|
|
wlr-backend
|
|
|
|
wlr-session
|
|
|
|
wlr-render
|
|
|
|
${XKBCOMMON_LIBRARIES}
|
|
|
|
)
|
2017-06-22 20:32:47 +00:00
|
|
|
|
|
|
|
add_executable(compositor
|
|
|
|
compositor
|
|
|
|
shared.c
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(compositor
|
|
|
|
wlr-backend
|
|
|
|
wlr-session
|
|
|
|
wlr-render
|
|
|
|
wlr-wlcore
|
|
|
|
${XKBCOMMON_LIBRARIES}
|
|
|
|
)
|