forked from AuroraMiddleware/gtk
7391a078b3
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.
44 lines
2.1 KiB
Meson
44 lines
2.1 KiB
Meson
# GDK backends
|
|
option('x11-backend', type: 'boolean', value: true,
|
|
description : 'Enable the X11 gdk backend (only when building on Unix)')
|
|
option('wayland-backend', type: 'boolean', value: true,
|
|
description : 'Enable the wayland gdk backend (only when building on Unix except for macOS)')
|
|
option('broadway-backend', type: 'boolean', value: false,
|
|
description : 'Enable the broadway (HTML5) gdk backend')
|
|
option('win32-backend', type: 'boolean', value: true,
|
|
description : 'Enable the Windows gdk backend (only when building on Windows)')
|
|
option('quartz-backend', type: 'boolean', value: true,
|
|
description : 'Enable the macOS gdk backend (only when building on macOS)')
|
|
|
|
# Optional dependencies
|
|
option('xinerama', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto',
|
|
description : 'Enable support for the Xinerama extension')
|
|
option('cloudproviders', type: 'boolean', value: false,
|
|
description : 'Enable the cloudproviders support')
|
|
|
|
# Print backends
|
|
option('print-backends', type : 'string', value : 'auto',
|
|
description : 'Build the specified print backends (comma-separated list, any of "cloudprint,cups,file,lpr,papi,test" or "auto")')
|
|
option('colord', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto',
|
|
description : 'Build colord support for the CUPS printing backend')
|
|
|
|
# Documentation and introspection
|
|
option('documentation', type: 'boolean', value: 'false',
|
|
description : 'Build API reference and tools documentation')
|
|
option('man-pages', type: 'boolean', value: 'false',
|
|
description : 'Build man pages for installed tools')
|
|
option('introspection', type: 'boolean', value: 'true',
|
|
description : 'Build introspection data (requires gobject-introspection)')
|
|
|
|
# Demos and binaries
|
|
option('demos', type: 'boolean', value: 'true',
|
|
description : 'Build demo programs')
|
|
option('build-examples', type: 'boolean', value: 'true',
|
|
description : 'Build examples')
|
|
option('build-tests', type: 'boolean', value: 'true',
|
|
description : 'Build tests')
|
|
|
|
# input modules
|
|
option('builtin_immodules', type: 'string',
|
|
value: '', description: 'Build specified immodules into GTK so/DLL (comma-separated list), "all", "none" or "backend"')
|