diff options
Diffstat (limited to 'test cases/wayland/2 core only/meson.build')
-rw-r--r-- | test cases/wayland/2 core only/meson.build | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test cases/wayland/2 core only/meson.build b/test cases/wayland/2 core only/meson.build new file mode 100644 index 0000000..a35e981 --- /dev/null +++ b/test cases/wayland/2 core only/meson.build @@ -0,0 +1,14 @@ +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) |