1
0
mirror of https://github.com/falk-werner/webfuse-provider synced 2026-03-02 04:09:18 +00:00

switched build to meson

This commit is contained in:
nosamad
2020-06-07 16:21:15 +02:00
parent 218909ee79
commit c9065403cd
11 changed files with 101 additions and 207 deletions

View File

@@ -0,0 +1,4 @@
#!/bin/sh
exec ninja_adapter "$@"

View File

@@ -0,0 +1,4 @@
#!/bin/sh -e
exec ninja_adapter test "$@"

View File

@@ -0,0 +1,9 @@
#!/bin/sh
. DoBuildFiles/generic.properties
{ [ -z "$BUILDVERBOSE" ] && [ -z "$TESTVERBOSE" ]; } || set -- -v "$@"
[ -z "$VERBOSE" ] || set -x
exec meson test -C "${PWD}/meson" --num-processes "$NPROC" --print-errorlogs --wrap 'valgrind --error-exitcode=1' "$@"

View File

@@ -0,0 +1,10 @@
#!/bin/sh
. DoBuildFiles/generic.properties
set -- "$@" -C "${PWD}/meson"
{ [ -z "$BUILDVERBOSE" ] && [ -z "$TESTVERBOSE" ]; } || set -- -v "$@"
[ -z "$VERBOSE" ] || set -x
exec ninja -j"$NPROC" "$@"

View File

@@ -0,0 +1,5 @@
#!/bin/sh
export DESTDIR="$1"
exec ninja_adapter install

View File

@@ -0,0 +1,10 @@
#!/bin/sh
. DoBuildFiles/generic.properties
rm -rf meson
[ -z "$VERBOSE" ] || set -x
exec meson setup --buildtype "$VARIANT" "${PWD}/meson" "$PROJECTDIR" "$@"