2017-04-25 21:06:58 +02:00
|
|
|
include_directories(
|
|
|
|
${PROTOCOLS_INCLUDE_DIRS}
|
|
|
|
${WAYLAND_INCLUDE_DIR}
|
2017-05-01 05:50:19 +02:00
|
|
|
${DRM_INCLUDE_DIRS}
|
2017-06-09 17:38:38 +02:00
|
|
|
${LIBINPUT_INCLUDE_DIRS}
|
2017-04-25 21:06:58 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
add_library(wlr-backend
|
2017-06-19 17:46:50 +02:00
|
|
|
wayland/backend.c
|
|
|
|
wayland/registry.c
|
|
|
|
wayland/wl_seat.c
|
|
|
|
wayland/wl_output.c
|
2017-05-01 07:49:18 +02:00
|
|
|
drm/backend.c
|
2017-05-01 05:50:19 +02:00
|
|
|
drm/drm.c
|
2017-06-09 17:28:10 +02:00
|
|
|
|
|
|
|
libinput/backend.c
|
2017-06-09 23:31:21 +02:00
|
|
|
libinput/events.c
|
2017-06-10 17:58:25 +02:00
|
|
|
libinput/keyboard.c
|
2017-06-13 16:27:15 +02:00
|
|
|
libinput/pointer.c
|
2017-06-14 17:40:03 +02:00
|
|
|
libinput/touch.c
|
2017-06-15 20:32:28 +02:00
|
|
|
libinput/tablet_tool.c
|
2017-06-09 17:28:10 +02:00
|
|
|
|
2017-06-13 04:22:40 +02:00
|
|
|
multi/backend.c
|
2017-05-07 16:00:23 +02:00
|
|
|
backend.c
|
2017-05-03 07:04:41 +02:00
|
|
|
egl.c
|
2017-06-09 17:28:10 +02:00
|
|
|
udev.c
|
2017-04-25 21:06:58 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(wlr-backend
|
|
|
|
wlr-common
|
2017-05-31 21:43:13 +02:00
|
|
|
wlr-types
|
2017-04-25 21:06:58 +02:00
|
|
|
${WAYLAND_LIBRARIES}
|
2017-05-02 08:13:17 +02:00
|
|
|
${DRM_LIBRARIES}
|
|
|
|
${GBM_LIBRARIES}
|
|
|
|
${GLESv2_LIBRARIES}
|
|
|
|
${EGL_LIBRARIES}
|
|
|
|
${SYSTEMD_LIBRARIES}
|
|
|
|
${UDEV_LIBRARIES}
|
2017-06-09 17:38:38 +02:00
|
|
|
${LIBINPUT_LIBRARIES}
|
2017-05-02 08:13:17 +02:00
|
|
|
${GBM_LIBRARIES}
|
2017-04-25 21:06:58 +02:00
|
|
|
)
|