meson: convert -Dterminfo from a boolean to a feature option

Patch from Jan Beich
This commit is contained in:
Daniel Eklöf 2021-02-09 19:42:55 +01:00
parent 8a32c5c5c1
commit c49eac2147
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
4 changed files with 5 additions and 5 deletions

View file

@ -34,11 +34,11 @@ tasks:
ln -s ../../fcft foot/subprojects/fcft
- debug: |
mkdir -p bld/debug
meson --buildtype=debug -Dterminfo=false -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true foot bld/debug
meson --buildtype=debug -Dterminfo=disabled -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true foot bld/debug
ninja -C bld/debug -k0
meson test -C bld/debug --print-errorlogs
- release: |
mkdir -p bld/release
meson --buildtype=minsize -Dterminfo=false -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true foot bld/release
meson --buildtype=minsize -Dterminfo=disabled -Dfcft:text-shaping=enabled -Dfcft:test-text-shaping=true foot bld/release
ninja -C bld/release -k0
meson test -C bld/release --print-errorlogs