summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2017-09-06 08:33:18 -0400
committerMatthias Clasen <mclasen@redhat.com>2017-09-06 09:53:20 -0400
commitb5e00d36f084b827c48e4c9b8adc8fcedc14f2ff (patch)
treeb9e3c0601ca5983e4dcc094ed047cad63cccbf08 /meson_options.txt
parentaf5d3e3299eac52ba14fe90232cff385e66176b5 (diff)
downloadgtk+-b5e00d36f084b827c48e4c9b8adc8fcedc14f2ff.tar.gz
Allow building without tests and demos
This is meant to cut down build time in flatpak and similar situations. Since it produces technically incomplete builds, we list these options in the status output at the end of the meson run.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 586ad3e884..f3b587a212 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -36,3 +36,7 @@ option('enable-man-pages', type: 'boolean', value: 'false',
description : 'Build man pages for installed tools')
option('enable-gir', type: 'boolean', value: 'true',
description : 'Build introspection data (requires gobject-introspection)')
+option('demos', type: 'boolean', value: 'true',
+ description : 'Build demos and example programs')
+option('build-tests', type: 'boolean', value: 'true',
+ description : 'Build tests')