Migrate to meson
This commit is contained in:
parent
f579dd8668
commit
5995e58759
|
@ -11,5 +11,5 @@ DATADIR = $(PREFIX)/share
|
|||
XWAYLAND =
|
||||
XLIBS =
|
||||
# Uncomment to build XWayland support
|
||||
#XWAYLAND = -DXWAYLAND
|
||||
#XLIBS = xcb xcb-icccm
|
||||
XWAYLAND = -DXWAYLAND
|
||||
XLIBS = xcb xcb-icccm
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
project(
|
||||
'dwl',
|
||||
'c',
|
||||
version: 'v0.5.1',
|
||||
)
|
||||
|
||||
wlroots_sub = subproject('wlroots')
|
||||
|
||||
deps = [
|
||||
dependency('wayland-scanner'),
|
||||
dependency('wayland-protocols'),
|
||||
dependency('xcb'),
|
||||
dependency('xcb-icccm'),
|
||||
wlroots_sub.get_variable('wlroots')
|
||||
]
|
||||
|
||||
incdir = include_directories('include')
|
||||
|
||||
srcs = [
|
||||
'src/dwl.c',
|
||||
'src/util.c',
|
||||
]
|
||||
|
||||
executable(
|
||||
'dwl',
|
||||
sources: srcs,
|
||||
include_directories: incdir,
|
||||
dependencies: deps
|
||||
)
|
|
@ -1,6 +1,9 @@
|
|||
/*
|
||||
* See LICENSE file for copyright and license details.
|
||||
*/
|
||||
#define WLR_USE_UNSTABLE
|
||||
#define XWAYLAND
|
||||
#define VERSION "0.5.1"
|
||||
#include <getopt.h>
|
||||
#include <libinput.h>
|
||||
#include <linux/input-event-codes.h>
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 3f2aced8c6fd00b0b71da24c790850af2004052b
|
Loading…
Reference in New Issue