From 7b32900c55745bb29b391ce334d86b502f34879d Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 14 Feb 2018 14:04:04 +0000 Subject: build: Rename GDK backend options Drop the 'enable-' prefix, and always enable all platform-specific backends. We can disable them depending on the platform. This way, the documentation printed by `meson configure` remains accurate. --- meson_options.txt | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'meson_options.txt') diff --git a/meson_options.txt b/meson_options.txt index 5ac89073ac..07de49a45a 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,14 +1,14 @@ # GDK backends -option('enable-x11-backend', type: 'boolean', value: 'true', - description : 'Enable the X11 gdk backend') -option('enable-wayland-backend', type: 'boolean', value: 'true', - description : 'Enable the wayland gdk backend') -option('enable-broadway-backend', type: 'boolean', value: 'false', +option('x11-backend', type: 'boolean', value: true, + description : 'Enable the X11 gdk backend (only when building on Linux or macOS)') +option('wayland-backend', type: 'boolean', value: true, + description : 'Enable the wayland gdk backend (only when building on Linux)') +option('broadway-backend', type: 'boolean', value: false, description : 'Enable the broadway (HTML5) gdk backend') -option('enable-win32-backend', type: 'boolean', value: 'false', - description : 'Enable the Windows gdk backend') -option('enable-quartz-backend', type: 'boolean', value: 'false', - description : 'Enable the macOS 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('enable-vulkan', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto', -- cgit v1.2.1