waybox/meson.build
Keith Bowes ab16a76696
Merge pull request #19 from keithbowes/gettext
* Added gettext catalogs

* Adapted from Openbox to hopefully give us a lot of mostly complete translations immediately.

* Added building the .pot and .gmo files

* Prepared strings for translation

* Using wlr_log() instead of printf() for logging messages

* A hopefully acceptable solution

* Openbox-esque help

* Cut down the blank lines in the debug logs

* It seems that wlr_log already outputs an end-of-line character

* Removed the messages which make no sense in Wayland

* Cleaned up the .po files

* Proper translation notes and where to report bugs

* More debugging messages
2021-04-06 16:41:46 -04:00

33 lines
755 B
Meson

project(
'Waybox',
'c',
version: '0.0.1',
license: 'MIT',
meson_version: '>=0.43.0',
default_options: [
'c_std=c11',
'warning_level=2',
'werror=true',
],
)
add_project_arguments(
'-Wno-unused-parameter',
'-DWLR_USE_UNSTABLE',
'-DPACKAGE_NAME="' + meson.project_name() + '"',
'-DPACKAGE_VERSION="' + meson.project_version() + '"',
language: 'c')
cc = meson.get_compiler('c')
# Adding include directory
inc_dir = include_directories('include')
wlroots = dependency('wlroots', version: '>=0.9.0')
wayland_server = dependency('wayland-server', version: '>=1.15')
wayland_protos = dependency('wayland-protocols', version: '>=1.17')
xkbcommon = dependency('xkbcommon')
subdir('po')
subdir('protocol')
subdir('waybox')