|
|
@ -11,10 +11,13 @@ and on ArchLinux and Manjaro: |
|
|
|
|
|
|
|
|
|
|
|
$ sudo pacman -Suy meson pkg-config ragel gcc freetype2 glib2 cairo |
|
|
|
$ sudo pacman -Suy meson pkg-config ragel gcc freetype2 glib2 cairo |
|
|
|
|
|
|
|
|
|
|
|
then use meson to build the project like `meson build && meson test -Cbuild`. |
|
|
|
On macOS: |
|
|
|
|
|
|
|
|
|
|
|
On macOS, `brew install pkg-config ragel gtk-doc freetype glib cairo meson` |
|
|
|
brew install pkg-config ragel gtk-doc freetype glib cairo meson |
|
|
|
then use meson like above. |
|
|
|
|
|
|
|
|
|
|
|
Then use meson to build the project like: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
meson build && meson test -Cbuild |
|
|
|
|
|
|
|
|
|
|
|
On Windows, meson can build the project like above if a working MSVC's cl.exe |
|
|
|
On Windows, meson can build the project like above if a working MSVC's cl.exe |
|
|
|
(`vcvarsall.bat`) or gcc/clang is already on your path, and if you use |
|
|
|
(`vcvarsall.bat`) or gcc/clang is already on your path, and if you use |
|
|
@ -22,8 +25,8 @@ something like `meson build --wrap-mode=default` it fetches and compiles most |
|
|
|
of the dependencies also. It is recommended to install CMake either manually |
|
|
|
of the dependencies also. It is recommended to install CMake either manually |
|
|
|
or via the Visual Studio installer when building with MSVC, using meson. |
|
|
|
or via the Visual Studio installer when building with MSVC, using meson. |
|
|
|
|
|
|
|
|
|
|
|
Our CI configurations is also a good source of learning how to build HarfBuzz. |
|
|
|
Our CI configurations are also a good source of learning how to build HarfBuzz. |
|
|
|
|
|
|
|
|
|
|
|
There is also amalgam source provided with HarfBuzz which reduces whole process |
|
|
|
There is also amalgamated source provided with HarfBuzz which reduces whole process |
|
|
|
of building HarfBuzz like `g++ src/harfbuzz.cc -fno-exceptions` but there is |
|
|
|
of building HarfBuzz to `g++ src/harfbuzz.cc -fno-exceptions` but there is |
|
|
|
not guarantee provided with buildability and reliability of features you get. |
|
|
|
no guarantee provided with buildability and reliability of features you get. |
|
|
|