unfettered-keyboard/meson.build
2024-04-15 22:11:20 -04:00

38 lines
995 B
Meson

# SPDX-License-Identifier: GPL-3.0-only
project('ufkbd', 'c')
compiler = meson.get_compiler('c')
expat = dependency('expat')
fcft = dependency('fcft')
pixman = dependency('pixman-1')
utf8proc = dependency('libutf8proc')
wayland = dependency('wayland-client')
xkbcommon = dependency('xkbcommon')
libm = compiler.find_library('m')
executable('ufkbd',
[
'graphics.c',
'input.c',
'keymap.c',
'layout.c',
'main.c',
'modifier.c',
'parser.c',
'wayland/protocols/input-method-unstable-v2.c',
'wayland/protocols/viewporter.c',
'wayland/protocols/virtual-keyboard-unstable-v1.c',
'wayland/protocols/wlr-layer-shell-unstable-v1.c',
'wayland/protocols/xdg-shell.c',
'wayland/buffer.c',
'wayland/driver.c',
'wayland/input.c',
'wayland/surface.c',
],
dependencies : [expat, fcft, libm, pixman, utf8proc, wayland, xkbcommon],
include_directories : 'include',
c_args : ['-Wall', '-Wextra', '-Wpedantic', '-Wno-unused-parameter'],
)