diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-08-17 08:07:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-17 08:07:29 -0400 |
commit | 30b676e3a8c7bdde4cba535de6306b6119482528 (patch) | |
tree | 3ebea1470caa643400783346fac7af2c0a2688ea /protocol | |
parent | e7fa4f12e16cf2a38b5bea064e89a53d88857274 (diff) | |
parent | e2e149784b2659e43f0459e9d659d828687d7c04 (diff) |
Merge pull request #98 from martinetd/wayland_backend_xdg
Wayland backend xdg
Diffstat (limited to 'protocol')
-rw-r--r-- | protocol/meson.build | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/protocol/meson.build b/protocol/meson.build index 9741e07e..f338e199 100644 --- a/protocol/meson.build +++ b/protocol/meson.build @@ -10,10 +10,18 @@ wayland_scanner_code = generator(wayland_scanner, output: '@BASENAME@-protocol.c', arguments: ['code', '@INPUT@', '@OUTPUT@']) +wayland_scanner_client = generator(wayland_scanner, + output: '@BASENAME@-client-protocol.h', + arguments: ['client-header', '@INPUT@', '@OUTPUT@']) + protocols = [ [ wl_protocol_dir, 'unstable/xdg-shell/xdg-shell-unstable-v6.xml' ] ] +client_protocols = [ + [ wl_protocol_dir, 'unstable/xdg-shell/xdg-shell-unstable-v6.xml' ] +] + wl_protos_src = [] wl_protos_headers = [] @@ -23,6 +31,11 @@ foreach p : protocols wl_protos_headers += wayland_scanner_server.process(xml) endforeach +foreach p : client_protocols + xml = join_paths(p) + wl_protos_headers += wayland_scanner_client.process(xml) +endforeach + lib_wl_protos = static_library('wl_protos', wl_protos_src + wl_protos_headers) wlr_protos = declare_dependency( link_with: lib_wl_protos, |