summaryrefslogtreecommitdiff
path: root/meson_options.txt
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2018-07-12 10:14:33 -0400
committerThibault Saunier <tsaunier@igalia.com>2018-07-12 12:15:30 -0400
commit3d471639194dea07834b0edbfc77baf238de017d (patch)
treec115ae812195f2febcafd8a2039535511914b6ad /meson_options.txt
parent9e4c1dc693a51f5bf8990a6689f9749b1d4c3a16 (diff)
Use new 'feature' option and dictionnary
Simplifying the build definition, making its options more flexible and it is now simpler to read. On a side not we want https://github.com/mesonbuild/meson/issues/3880 to simplify that again. https://bugzilla.gnome.org/show_bug.cgi?id=796798
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt20
1 files changed, 10 insertions, 10 deletions
diff --git a/meson_options.txt b/meson_options.txt
index 8e703fa..bf55972 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,13 +1,13 @@
-option('python', type : 'boolean', value : true)
-option('libav', type : 'boolean', value : true)
-option('ugly', type : 'boolean', value : true)
-option('bad', type : 'boolean', value : true)
-option('devtools', type : 'boolean', value : true)
-option('ges', type : 'boolean', value : true)
-option('rtsp_server', type : 'boolean', value : true)
-option('omx', type : 'boolean', value : false)
-option('vaapi', type : 'boolean', value : true)
-option('sharp', type : 'boolean', value : true)
+option('python', type : 'feature', value : 'auto')
+option('libav', type : 'feature', value : 'auto')
+option('ugly', type : 'feature', value : 'auto')
+option('bad', type : 'feature', value : 'auto')
+option('devtools', type : 'feature', value : 'auto')
+option('ges', type : 'feature', value : 'auto')
+option('rtsp_server', type : 'feature', value : 'auto')
+option('omx', type : 'feature', value : 'disabled')
+option('vaapi', type : 'feature', value : 'auto')
+option('sharp', type : 'feature', value : 'auto')
option('custom_subprojects', type : 'string', value : '', description : 'Comma-separated project names')
# Common options, automatically inherited by subprojects