[docs] Update to mention meson

This commit is contained in:
Ebrahim Byagowi 2020-03-13 14:40:07 +03:30
parent 838346c54a
commit f1dd605cd9
3 changed files with 5 additions and 9 deletions

View File

@ -7,11 +7,8 @@ whereas on Fedora, RHEL, CentOS, and other Red Hat based systems you would do:
sudo yum install gcc gcc-c++ freetype-devel glib2-devel cairo-devel sudo yum install gcc gcc-c++ freetype-devel glib2-devel cairo-devel
on Windows, consider using [vcpkg](https://github.com/Microsoft/vcpkg), on Windows, consider using [vcpkg](https://github.com/Microsoft/vcpkg)
provided by Microsoft, for building HarfBuzz and other open-source libraries or `meson build && ninja -Cbuild`.
but if you need to build harfbuzz from source, put ragel binary on your
PATH and follow appveyor CI's cmake
[build steps](https://github.com/harfbuzz/harfbuzz/blob/master/appveyor.yml).
on macOS, using MacPorts: on macOS, using MacPorts:

View File

@ -1,7 +1,7 @@
# Configuring HarfBuzz # Configuring HarfBuzz
Most of the time you will not need any custom configuration. The configuration Most of the time you will not need any custom configuration. The configuration
options provided by `configure` or `cmake` should be enough. In particular, options provided by `configure` or `meson` should be enough. In particular,
if you just want HarfBuzz library plus hb-shape / hb-view utilities, make sure if you just want HarfBuzz library plus hb-shape / hb-view utilities, make sure
FreeType and Cairo are available and found during configuration. FreeType and Cairo are available and found during configuration.

View File

@ -55,10 +55,9 @@ make CPPFLAGS=-DHB_DEBUG_SUBSET=100
Note: You'll need to first install ninja-build via apt-get. Note: You'll need to first install ninja-build via apt-get.
```shell ```shell
cd harfbuzz meson build && ninja -Cbuild && ninja -Cbuild test
mkdir build
cmake -DHB_CHECK=ON -Bbuild -H. -GNinja && ninja -Cbuild && CTEST_OUTPUT_ON_FAILURE=1 ninja -Cbuild test
``` ```
## Test with the Fuzzer ## Test with the Fuzzer
```shell ```shell