summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2018-03-27 13:15:21 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2018-03-29 11:37:30 +0100
commitd50708b02406f650b65f48f18eaa2047632759d5 (patch)
tree86dc23ad407fd080d3c1c9b788addbec16957e97 /meson_options.txt
parent934354fb8c024a4b0f0508863c98776e28a2ad98 (diff)
downloadgtk+-d50708b02406f650b65f48f18eaa2047632759d5.tar.gz
Add an option for building examples
Examples are not like demos; the latter are installed, and provide a Flatpak manifest for CI pipelines and GNOME Builder. We should not be using a single configure time option to gate building both.
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 1d9752f7ab..6e795b0883 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -38,7 +38,9 @@ option('introspection', type: 'boolean', value: 'true',
# Demos and binaries
option('demos', type: 'boolean', value: 'true',
- description : 'Build demos and example programs')
+ description : 'Build demo programs')
+option('build-examples', type: 'boolean', value: 'true',
+ description : 'Build examples')
option('build-tests', type: 'boolean', value: 'true',
description : 'Build tests')
option('install-tests', type: 'boolean', value: 'false',