meson: add utest option
PATCH 1/1 meson: add utest option
Add utest option to allow the user to disable utest
Signed-off-by Fabrice Fontaine <[email protected]>
--- meson.build | 2 +- meson_options.txt | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-)
meson.build +1 -1
@@ -35,7 +35,7 @@ incdir = include_directories(['include']) subdir('src') subdir('include') -if cunit_dep.found() +if get_option('utest') and cunit_dep.found() subdir('utest') endif if get_option('samples')
meson_options.txt +2 -0
@@ -18,3 +18,5 @@ option('doc', type : 'boolean', value: true, description : 'produce documentation') option('samples', type : 'boolean', value: true, description : 'build samples') +option('utest', type : 'boolean', value: true, + description : 'build utest')
Signature · 1 line
2.43.0