The Meson Build System
http://mesonbuild.com/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
466 B
17 lines
466 B
3 years ago
|
project('wayland-test-client', 'c')
|
||
|
|
||
|
wl_protocols_dep = dependency('wayland-protocols', required : false)
|
||
|
if not wl_protocols_dep.found()
|
||
|
error('MESON_SKIP_TEST: wayland-protocols not installed')
|
||
|
endif
|
||
|
|
||
|
wl_dep = dependency('wayland-client')
|
||
|
wl_mod = import('unstable-wayland')
|
||
|
|
||
|
xdg_shell_xml = wl_mod.find_protocol('xdg-shell')
|
||
|
xdg_shell = wl_mod.scan_xml(xdg_shell_xml)
|
||
|
|
||
|
exe = executable('client', 'main.c', xdg_shell, dependencies : wl_dep)
|
||
|
|
||
|
test('client', exe)
|