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.
14 lines
503 B
14 lines
503 B
project('wayland-test-core-only', '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_mod = import('unstable-wayland') |
|
wl_client_dep = dependency('wayland-client') |
|
|
|
xdg_shell_xml = wl_mod.find_protocol('xdg-shell') |
|
xdg_shell = wl_mod.scan_xml(xdg_shell_xml, include_core_only : true) |
|
exe = executable('core', 'core.c', xdg_shell, dependencies : wl_client_dep) |
|
test('core', exe)
|
|
|