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