sway-patched-tray-menu/meson.build

35 lines
818 B
Meson
Raw Normal View History

2017-11-29 15:03:12 +01:00
project(
'sway',
'c',
license: 'MIT',
default_options: [
'c_std=c11',
'warning_level=2',
'werror=true',
],
)
cc = meson.get_compiler('c')
2017-11-30 09:41:51 +01:00
jsonc = dependency('json-c', version: '>=0.12.1')
pcre = dependency('libpcre')
wlroots = dependency('wlroots')
2017-11-29 15:03:12 +01:00
wayland_server = dependency('wayland-server')
wayland_client = dependency('wayland-client')
wayland_egl = dependency('wayland-egl')
wayland_protos = dependency('wayland-protocols')
xkbcommon = dependency('xkbcommon')
2017-11-30 09:41:51 +01:00
pango = dependency('pango')
pixman = dependency('pixman-1')
libcap = dependency('libcap')
2017-11-29 15:03:12 +01:00
math = cc.find_library('m')
# TODO version
add_project_arguments('-DSWAY_VERSION="5"', language: 'c')
sway_inc = include_directories('include')
2017-11-30 09:39:27 +01:00
subdir('common')
subdir('sway')
2017-11-29 15:03:12 +01:00