qemu/ui/shader/meson.build
Paolo Bonzini 9bad39c7e8 meson: do not build shaders by default
They are not needed when building user-mode emulators.

Reviewed-by: Emmanouil Pitsidianakis <manos.pitsidianakis@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-10-17 15:20:53 +02:00

16 lines
427 B
Meson

shaders = [
['texture-blit', 'frag'],
['texture-blit', 'vert'],
['texture-blit-flip', 'vert'],
]
foreach e : shaders
output = '@0@-@1@.h'.format(e[0], e[1])
genh += custom_target(output,
output: output,
capture: true,
input: files('@0@.@1@'.format(e[0], e[1])),
build_by_default: false,
command: [shaderinclude, '@INPUT0@'])
endforeach