diff options
Diffstat (limited to 'src/egl')
-rw-r--r-- | src/egl/wayland/wayland-drm/meson.build | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/egl/wayland/wayland-drm/meson.build b/src/egl/wayland/wayland-drm/meson.build index 0a94626f287..92adc295531 100644 --- a/src/egl/wayland/wayland-drm/meson.build +++ b/src/egl/wayland/wayland-drm/meson.build @@ -18,4 +18,16 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. -wayland_drm_xml = files('wayland-drm.xml') +wayland_drm_protocol_c = custom_target( + 'wayland-drm-protocol.c', + input : 'wayland-drm.xml', + output : 'wayland-drm-protocol.c', + command : [prog_wl_scanner, 'code', '@INPUT@', '@OUTPUT@'], +) + +wayland_drm_client_protocol_h = custom_target( + 'wayland-drm-client-protocol.h', + input : 'wayland-drm.xml', + output : 'wayland-drm-client-protocol.h', + command : [prog_wl_scanner, 'client-header', '@INPUT@', '@OUTPUT@'], +) |