Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2022-12-27 21:27:11 +0300
committerNirbheek Chauhan <nirbheek@centricular.com>2022-12-28 20:00:11 +0300
commit5f0ff8348f0cca7333927db21ed3a12036f6762e (patch)
tree799df653814dda195d9c4aff7a8a7e2884f5fd16 /meson_options.txt
parenta3d405f670982eb9c904abb1d41df7e53072f27d (diff)
meson: Add an option to build examples
Required renaming threadshare/benchmark to threadshare/ts-benchmark because 'benchmark' as a target name is reserved for meson's `benchmark` target. Disabled by default because cargo decides that it has to rebuild everything, and is really slow because of that. Also required adding --features for setting features required by the examples. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1028>
Diffstat (limited to 'meson_options.txt')
-rw-r--r--meson_options.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt
index a2d62a613..033e586c6 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -60,3 +60,5 @@ option('webp', type: 'feature', value: 'auto', description: 'Build webp plugin')
# Common options
option('doc', type: 'feature', value: 'auto', yield: true,
description: 'Enable documentation')
+option('examples', type: 'feature', value: 'disabled', yield: true,
+ description: 'Build examples')