1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-10-26 12:25:09 +03:00

README: Fix Meson examples

This commit is contained in:
Nick Wellnhofer 2024-06-21 23:38:42 +02:00
parent 88cc61e3e6
commit b01b55d50e

View File

@ -123,20 +123,26 @@ directly in various IDEs such as CLion, QtCreator, or Visual Studio.
Libxml can also be built with meson. Without option, simply call Libxml can also be built with meson. Without option, simply call
meson setup builddir meson setup builddir
ninja -C builddir ninja -C builddir
To add options, see the meson_options.txt file. For example: To add options, see the meson_options.txt file. For example:
meson setup -Dprefix=$prefix -Dftp=true -Dhistory=true -Dicu=true -Dhttp=true builddir meson setup \
-Dprefix=$prefix \
-Dhistory=enabled \
-Dhttp=enabled \
-Dschematron=disabled \
-Dzlib=enabled \
builddir
To install libxml: To install libxml:
ninja -C builddir install ninja -C builddir install
To launch tests: To launch tests:
meson test -C builddir meson test -C builddir
## Dependencies ## Dependencies