diff options
author | Niels De Graef <nielsdegraef@gmail.com> | 2019-05-08 08:27:38 +0200 |
---|---|---|
committer | Günther Wagner <info@gunibert.de> | 2021-10-21 12:52:27 +0200 |
commit | afcf2ed34ca0b47aaee6f81625d4deec2c3d6bb9 (patch) | |
tree | 43bad38eb62e220408b4cc053c54ced78db8ae28 /docs | |
parent | 409dec8b596bb6cc3b8e25d0572bf5cd38130968 (diff) | |
download | librest-afcf2ed34ca0b47aaee6f81625d4deec2c3d6bb9.tar.gz |
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
Diffstat (limited to 'docs')
-rw-r--r-- | docs/meson.build | 1 | ||||
-rw-r--r-- | docs/reference/rest/meson.build | 26 |
2 files changed, 27 insertions, 0 deletions
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', + ], +) |