From b01b55d50e46368ad83aa4904198347bd9e47174 Mon Sep 17 00:00:00 2001 From: Nick Wellnhofer Date: Fri, 21 Jun 2024 23:38:42 +0200 Subject: [PATCH] README: Fix Meson examples --- README.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index e7736d43..8eec01f0 100644 --- a/README.md +++ b/README.md @@ -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 -meson setup builddir -ninja -C builddir + meson setup builddir + ninja -C builddir 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: -ninja -C builddir install + ninja -C builddir install To launch tests: -meson test -C builddir + meson test -C builddir ## Dependencies