mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
Use meson build system
This commit is contained in:
parent
ce886c0353
commit
fdab81e1c9
33 changed files with 157 additions and 1001 deletions
|
|
@ -1,42 +0,0 @@
|
|||
include_directories(
|
||||
${PROTOCOLS_INCLUDE_DIRS}
|
||||
${WAYLAND_INCLUDE_DIR}
|
||||
${DRM_INCLUDE_DIRS}
|
||||
${LIBINPUT_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
add_library(wlr-backend
|
||||
wayland/backend.c
|
||||
wayland/registry.c
|
||||
wayland/wl_seat.c
|
||||
wayland/output.c
|
||||
drm/backend.c
|
||||
drm/drm.c
|
||||
|
||||
libinput/backend.c
|
||||
libinput/events.c
|
||||
libinput/keyboard.c
|
||||
libinput/pointer.c
|
||||
libinput/touch.c
|
||||
libinput/tablet_tool.c
|
||||
libinput/tablet_pad.c
|
||||
|
||||
multi/backend.c
|
||||
backend.c
|
||||
egl.c
|
||||
udev.c
|
||||
)
|
||||
|
||||
target_link_libraries(wlr-backend
|
||||
wlr-util
|
||||
wlr-types
|
||||
${WAYLAND_LIBRARIES}
|
||||
${DRM_LIBRARIES}
|
||||
${GBM_LIBRARIES}
|
||||
${GLESv2_LIBRARIES}
|
||||
${EGL_LIBRARIES}
|
||||
${SYSTEMD_LIBRARIES}
|
||||
${UDEV_LIBRARIES}
|
||||
${LIBINPUT_LIBRARIES}
|
||||
${GBM_LIBRARIES}
|
||||
)
|
||||
19
backend/meson.build
Normal file
19
backend/meson.build
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
wlr_files += files(
|
||||
'backend.c',
|
||||
'egl.c',
|
||||
'udev.c',
|
||||
'drm/backend.c',
|
||||
'drm/drm.c',
|
||||
'libinput/backend.c',
|
||||
'libinput/events.c',
|
||||
'libinput/keyboard.c',
|
||||
'libinput/pointer.c',
|
||||
'libinput/tablet_pad.c',
|
||||
'libinput/tablet_tool.c',
|
||||
'libinput/touch.c',
|
||||
'multi/backend.c',
|
||||
'wayland/backend.c',
|
||||
'wayland/output.c',
|
||||
'wayland/registry.c',
|
||||
'wayland/wl_seat.c',
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue