mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-01 22:58:40 -04:00
meson: use strict wayland-scanner mode
Otherwise an invalid protocol will print warnings to stdout but won't make the build fail. Signed-off-by: Simon Ser <contact@emersion.fr>
This commit is contained in:
parent
6ddd0636e0
commit
1f8fe8b966
2 changed files with 5 additions and 5 deletions
|
|
@ -112,7 +112,7 @@ if get_option('libraries')
|
|||
target = custom_target(
|
||||
target_name,
|
||||
command: [
|
||||
wayland_scanner_for_build, scanner_args,
|
||||
wayland_scanner_for_build, '-s', scanner_args,
|
||||
'@INPUT@', '@OUTPUT@'
|
||||
],
|
||||
input: wayland_protocol_xml,
|
||||
|
|
@ -127,7 +127,7 @@ if get_option('libraries')
|
|||
wayland_protocol_c = custom_target(
|
||||
'protocol source',
|
||||
command: [
|
||||
wayland_scanner_for_build, 'public-code', '@INPUT@', '@OUTPUT@'
|
||||
wayland_scanner_for_build, '-s', 'public-code', '@INPUT@', '@OUTPUT@'
|
||||
],
|
||||
input: wayland_protocol_xml,
|
||||
output: 'wayland-protocol.c'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue