summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2022-07-28 06:18:33 -0400
committerSimon Ser <contact@emersion.fr>2022-08-18 09:58:41 +0000
commit46d1e99a5d291b22d86ac52710b079491beedff8 (patch)
tree91627da78b5b06aa07c566544bfade4e42cf3fd7 /meson_options.txt
parent003eb2a554edd55c410678568328847a23b97e1a (diff)
downloaddrm-46d1e99a5d291b22d86ac52710b079491beedff8.tar.gz
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 <simon@bl4ckb0ne.ca> Reviewed-by: Simon Ser <contact@emersion.fr>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt6
1 files changed, 6 insertions, 0 deletions
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.',
+)