meson: build print backends

This changes the configure option into two states:
auto: build all that can be build (default)
A list of backend names: build them and fail if we can't

"papi" is missing because it's not in Debian and I can't test it.
This commit is contained in:
Christoph Reiter
2019-03-31 11:32:44 +02:00
parent d52dad2042
commit 7391a078b3
8 changed files with 187 additions and 11 deletions

View File

@ -5,8 +5,6 @@ subdir('inspector')
gtk_cargs = [
'-DGTK_COMPILATION',
'-DG_LOG_DOMAIN="Gtk"',
# FIXME, support other backends
'-DGTK_PRINT_BACKENDS="file"',
'-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED',
'-DGTK_BINARY_VERSION="@0@"'.format(gtk_binary_version),
'-DGTK_HOST="@0@"'.format(host_machine.system()),