mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 02:40:11 +00:00
208e115368
This reverts commit 749a58ab26
.
This maintains feature parity with the autotools build. To achieve the
equivalent of --with-included-immodules=wayland,
-Dbuiltin_immodules=wayland,waylandgtk can be used instead.
50 lines
2.4 KiB
Meson
50 lines
2.4 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')
|
|
option('profiler', type: 'boolean', value: false,
|
|
description : 'Enable profiler support')
|
|
option('tracker3', type: 'boolean', value: false,
|
|
description : 'Enable Tracker3 filechooser search')
|
|
|
|
# Print backends
|
|
option('print_backends', type : 'string', value : 'auto',
|
|
description : 'Build the specified print backends (comma-separated list, any of "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('gtk_doc', type: 'boolean', value: 'false',
|
|
description : 'Build API reference with gtk-doc')
|
|
option('man', 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('examples', type: 'boolean', value: 'true',
|
|
description : 'Build examples')
|
|
option('tests', type: 'boolean', value: 'true',
|
|
description : 'Build tests')
|
|
option('installed_tests', type: 'boolean', value: 'false',
|
|
description : 'enable installed tests')
|
|
|
|
# input modules
|
|
option('builtin_immodules', type: 'string',
|
|
value: '', description: 'Build specified immodules into GTK so/DLL (comma-separated list), "all", "none" or "backend"')
|