[docs] Update to mention meson
This commit is contained in:
parent
838346c54a
commit
f1dd605cd9
7
BUILD.md
7
BUILD.md
|
@ -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
|
||||
|
||||
on Windows, consider using [vcpkg](https://github.com/Microsoft/vcpkg),
|
||||
provided by Microsoft, for building HarfBuzz and other open-source libraries
|
||||
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 Windows, consider using [vcpkg](https://github.com/Microsoft/vcpkg)
|
||||
or `meson build && ninja -Cbuild`.
|
||||
|
||||
on macOS, using MacPorts:
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Configuring HarfBuzz
|
||||
|
||||
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
|
||||
FreeType and Cairo are available and found during configuration.
|
||||
|
||||
|
|
|
@ -55,10 +55,9 @@ make CPPFLAGS=-DHB_DEBUG_SUBSET=100
|
|||
Note: You'll need to first install ninja-build via apt-get.
|
||||
|
||||
```shell
|
||||
cd harfbuzz
|
||||
mkdir build
|
||||
cmake -DHB_CHECK=ON -Bbuild -H. -GNinja && ninja -Cbuild && CTEST_OUTPUT_ON_FAILURE=1 ninja -Cbuild test
|
||||
meson build && ninja -Cbuild && ninja -Cbuild test
|
||||
```
|
||||
|
||||
## Test with the Fuzzer
|
||||
|
||||
```shell
|
||||
|
|
Loading…
Reference in New Issue