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,
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'
tests_server_protocol_h = custom_target(
'test server protocol header',
- command: [ wayland_scanner_for_build, 'server-header', '@INPUT@', '@OUTPUT@' ],
+ command: [ wayland_scanner_for_build, '-s', 'server-header', '@INPUT@', '@OUTPUT@' ],
input: tests_protocol_xml,
output: 'tests-server-protocol.h'
)
tests_client_protocol_c = custom_target(
'test client protocol header',
- command: [ wayland_scanner_for_build, 'client-header', '@INPUT@', '@OUTPUT@' ],
+ command: [ wayland_scanner_for_build, '-s', 'client-header', '@INPUT@', '@OUTPUT@' ],
input: tests_protocol_xml,
output: 'tests-client-protocol.h'
)
tests_protocol_c = custom_target(
'test protocol source',
- command: [ wayland_scanner_for_build, 'public-code', '@INPUT@', '@OUTPUT@' ],
+ command: [ wayland_scanner_for_build, '-s', 'public-code', '@INPUT@', '@OUTPUT@' ],
input: tests_protocol_xml,
output: 'tests-protocol.c'
)