waybox/meson.build

34 lines
768 B
Meson
Raw Normal View History

2018-02-21 13:19:27 -06:00
project(
2020-03-09 17:08:08 -04:00
'Waybox',
2018-02-21 13:19:27 -06:00
'c',
2021-04-06 17:03:02 -04:00
version: '0.1.0',
2018-02-21 13:19:27 -06:00
license: 'MIT',
2021-04-06 17:03:02 -04:00
meson_version: '>=0.52.0',
2018-02-21 13:19:27 -06:00
default_options: [
'c_std=c11',
'warning_level=2',
'werror=true',
],
)
add_project_arguments(
'-Wno-unused-parameter',
'-DWLR_USE_UNSTABLE',
2020-03-08 12:47:58 -04:00
'-DPACKAGE_NAME="' + meson.project_name() + '"',
'-DPACKAGE_VERSION="' + meson.project_version() + '"',
language: 'c')
2018-02-21 13:19:27 -06:00
cc = meson.get_compiler('c')
2018-06-19 10:26:54 -05:00
# Adding include directory
inc_dir = include_directories('include')
2021-04-06 17:03:02 -04:00
wlroots = dependency('wlroots', version: ['>=0.9.0', '<0.13.0'])
wayland_server = dependency('wayland-server', version: '>=1.15')
wayland_protos = dependency('wayland-protocols', version: '>=1.17')
xkbcommon = dependency('xkbcommon')
2020-03-09 17:08:08 -04:00
subdir('po')
subdir('protocol')
subdir('waybox')