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 /generic
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 'generic')
-rw-r--r--generic/threadshare/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/threadshare/Cargo.toml b/generic/threadshare/Cargo.toml
index 0f73e6b52..ef5b97290 100644
--- a/generic/threadshare/Cargo.toml
+++ b/generic/threadshare/Cargo.toml
@@ -43,7 +43,7 @@ crate-type = ["cdylib", "rlib"]
path = "src/lib.rs"
[[example]]
-name = "benchmark"
+name = "ts-benchmark"
path = "examples/benchmark.rs"
[[example]]