wlroots-hyprland/example/CMakeLists.txt

68 lines
912 B
Text
Raw Normal View History

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