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 --- docs/meson.build | 1 + docs/reference/rest/meson.build | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 docs/meson.build create mode 100644 docs/reference/rest/meson.build (limited to 'docs') diff --git a/docs/meson.build b/docs/meson.build new file mode 100644 index 0000000..164cf27 --- /dev/null +++ b/docs/meson.build @@ -0,0 +1 @@ +subdir('reference/rest') diff --git a/docs/reference/rest/meson.build b/docs/reference/rest/meson.build new file mode 100644 index 0000000..d02adf3 --- /dev/null +++ b/docs/reference/rest/meson.build @@ -0,0 +1,26 @@ +gnome.gtkdoc('rest', + src_dir: [ + include_directories('../../../rest'), + include_directories('../../../rest-extras'), + ], + main_xml: 'rest-docs.xml', + module_version: librest_api_version, + dependencies: [ + librest_deps, + librest_dep, + librest_extras_dep, + librest_extras_deps, + ], + scan_args: [ + '--rebuild-types', + ], + ignore_headers: [ + 'flickr-proxy-private.h', + 'lastfm-proxy-private.h', + 'oauth-proxy-private.h', + 'oauth2-proxy-private.h', + 'rest-private.h', + 'rest-proxy-call-private.h', + 'sha1.h', + ], +) -- cgit v1.2.1