mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2024-12-24 21:33:51 +03:00
18 lines
406 B
Bash
18 lines
406 B
Bash
#!/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 \
|
|
builddir
|
|
|
|
ninja -C builddir test
|
|
|