[libxml2]Add libxml2 library

This commit is contained in:
zhoujiale
2026-07-26 16:57:28 +08:00
committed by zhoujiale
parent 0a44ec8a06
commit e841ac915d
3790 changed files with 668244 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
#!/bin/sh
set -e
# compile with the following warnings:
# --warnlevel 3 : passes to the compiler -Wall -Wextra -Wpedantic
# --werror : passes to the compiler -Werror
# --default-library : can be 'shared', 'static' or 'both'
meson setup \
--warnlevel 3 \
--werror \
--buildtype=debugoptimized \
--default-library shared \
-Ddocs=enabled \
-Dhttp=enabled \
-Dschematron=enabled \
-Dzlib=enabled \
-Dpython=enabled \
builddir
ninja -C builddir
meson test --verbose -C builddir