mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-22 05:33:45 -04:00
meson: add -Dtests=false|true option
When set to false, no test binaries are neither built, nor executed (with “ninja test”). Closes #919
This commit is contained in:
parent
e6f884a9e1
commit
c7248cf763
4 changed files with 20 additions and 9 deletions
|
|
@ -303,7 +303,10 @@ endif
|
|||
|
||||
subdir('completions')
|
||||
subdir('icons')
|
||||
subdir('tests')
|
||||
|
||||
if (get_option('tests'))
|
||||
subdir('tests')
|
||||
endif
|
||||
|
||||
summary(
|
||||
{
|
||||
|
|
@ -315,6 +318,7 @@ summary(
|
|||
'Terminfo install location': terminfo_install_location,
|
||||
'Default TERM': get_option('default-terminfo'),
|
||||
'Set TERMINFO': get_option('custom-terminfo-install-location') != '',
|
||||
'Build tests': get_option('tests'),
|
||||
},
|
||||
bool_yn: true
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue