wlroots/example/CMakeLists.txt

68 lines
912 B
CMake
Raw Normal View History

2017-05-03 10:40:19 +00:00
include_directories(
${DRM_INCLUDE_DIRS}
${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-06-06 15:19:42 +00:00
target_link_libraries(simple
wlr-backend
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
cat.c
2017-06-05 10:48:51 +00:00
)
target_link_libraries(rotation
wlr-backend
wlr-session
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}
)
add_executable(tablet
tablet.c
shared.c
)
target_link_libraries(tablet
wlr-backend
wlr-session
wlr-render
${XKBCOMMON_LIBRARIES}
)