]> granicus.if.org Git - fribidi/commit
Add support for building with the Meson build system
authorTim-Philipp Müller <tim@centricular.com>
Fri, 16 Feb 2018 00:09:33 +0000 (00:09 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 19 Feb 2018 20:20:36 +0000 (20:20 +0000)
commita991b009b11fb791a9217af23659b092eb45377e
treea1e716ed274c9e12321b651a36a5fb04478b1b5f
parent4c97999ad09f683560bfdf69b4539558401cad41
Add support for building with the Meson build system

The Meson build system is being adopted by projects
such as GNOME, GTK, GStreamer, and there is support
for it in Pango as well.

Having support for building with Meson in fribidi
would facilitate builds of GTK, Pango, etc. via
Meson's subproject support.

Meson also supports builds on Windows with MSVC.

Cross-compilation is of course also supported, but
has not been tested yet for this build.

Try with:

 $ meson --prefix=/tmp/prefix builddir
 $ ninja -C builddir
 $ ninja -C builddir test
 $ ninja -C builddir install

Build time comparison:

 - autotools: 18 seconds
 - meson: 4 seconds

http://mesonbuild.com for more information.
bin/meson.build [new file with mode: 0644]
doc/meson.build [new file with mode: 0644]
gen.tab/meson.build [new file with mode: 0644]
lib/meson.build [new file with mode: 0644]
meson.build [new file with mode: 0644]
meson_options.txt [new file with mode: 0644]
test/meson.build [new file with mode: 0644]
test/test-runner.py [new file with mode: 0755]
test/unicode-conformance/meson.build [new file with mode: 0644]