From afcf2ed34ca0b47aaee6f81625d4deec2c3d6bb9 Mon Sep 17 00:00:00 2001 From: Niels De Graef Date: Wed, 8 May 2019 08:27:38 +0200 Subject: Port to the Meson build system See the [Meson website] for a full reference. To build, test and/or install the librest library, you essentially need the following commands: ``` $ meson build $ ninja -C build $ meson test -C build $ ninja -C build install ``` For the GNOME initiative, see https://wiki.gnome.org/Initiatives/GnomeGoals/MesonPorting [Meson website]: http://mesonbuild.com/ https://gitlab.gnome.org/GNOME/librest/merge_requests/1 --- meson_options.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 meson_options.txt (limited to 'meson_options.txt') diff --git a/meson_options.txt b/meson_options.txt new file mode 100644 index 0000000..ae4ba54 --- /dev/null +++ b/meson_options.txt @@ -0,0 +1,25 @@ +option('ca_certificates', + type: 'boolean', + value: false, + description: 'Whether to use a pre-specified Certificate Authority list (see the ca_certificates_path option)', +) +option('ca_certificates_path', + type: 'string', + value: '', + description: 'List of paths to the system Certificate Authority list. If empty, a default set of paths will be tried.', +) +option('introspection', + type: 'boolean', + value: true, + description: 'Generate GObject Introspection (.gir) files', +) +option('examples', + type: 'boolean', + value: true, + description: 'Build the examples', +) +option('gtk_doc', + type: 'boolean', + value: false, + description: 'Build the gtk-doc reference docs', +) -- cgit v1.2.1