diff options
author | Philip Chimento <philip.chimento@gmail.com> | 2020-01-13 22:35:56 -0800 |
---|---|---|
committer | Philip Chimento <philip.chimento@gmail.com> | 2020-01-21 22:35:27 -0800 |
commit | aad47f9b07dc6105c3ce10059a83efea4a36bcfc (patch) | |
tree | e4cda4c4c732fe524cdfdab3632bbe5ce10ba739 /subprojects | |
parent | 9e9dea45678c01b95bc85bf4915e42c2094fdde2 (diff) |
build: Meson build system
Removes the existing Autotools build system and adds a new Meson one.
Also replaces the shell script test driver with a Python one, since
Meson already brings in a Python dependency.
Common operations:
- ./configure -> meson _build
- make -> ninja -C _build
- make install -> ninja -C _build install
- make check -> meson test -C _build
- make Tartan.pot-update -> ninja -C _build tartan-pot
- make update-po -> ninja -C _build tartan-update-po
To run the tests with coverage enabled and make a coverage report:
- meson _build -Db_coverage=true
- meson test -C _build
- ninja -C _build coverage-html
Diffstat (limited to 'subprojects')
-rw-r--r-- | subprojects/.gitignore | 2 | ||||
-rw-r--r-- | subprojects/glib.wrap | 4 | ||||
-rw-r--r-- | subprojects/gobject-introspection.wrap | 4 |
3 files changed, 10 insertions, 0 deletions
diff --git a/subprojects/.gitignore b/subprojects/.gitignore new file mode 100644 index 0000000..6c63c5d --- /dev/null +++ b/subprojects/.gitignore @@ -0,0 +1,2 @@ +glib +gobject-introspection diff --git a/subprojects/glib.wrap b/subprojects/glib.wrap new file mode 100644 index 0000000..e4de7ee --- /dev/null +++ b/subprojects/glib.wrap @@ -0,0 +1,4 @@ +[wrap-git] +directory=glib +url=https://gitlab.gnome.org/GNOME/glib.git +revision=origin/master diff --git a/subprojects/gobject-introspection.wrap b/subprojects/gobject-introspection.wrap new file mode 100644 index 0000000..108b80c --- /dev/null +++ b/subprojects/gobject-introspection.wrap @@ -0,0 +1,4 @@ +[wrap-git] +directory=gobject-introspection +url=https://gitlab.gnome.org/GNOME/gobject-introspection.git +revision=origin/master |