From 46d1e99a5d291b22d86ac52710b079491beedff8 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Thu, 28 Jul 2022 06:18:33 -0400 Subject: build: make tests optional Building the project as a meson subproject, meson inherits the warning level from the parent project. Making the tests optional bypasses that issue and reduces build time. Signed-off-by: Simon Zeni Reviewed-by: Simon Ser --- meson_options.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'meson_options.txt') diff --git a/meson_options.txt b/meson_options.txt index f5d066f0..e487676a 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -134,3 +134,9 @@ option( value : false, description : 'Enable support for using udev instead of mknod.', ) +option( + 'tests', + type : 'boolean', + value : true, + description : 'Build test programs.', +) -- cgit v1.2.1