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:
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>2020-01-15 10:06:32 +0300
committerGuillaume Desmottes <guillaume.desmottes@collabora.com>2020-01-16 11:33:39 +0300
commitd98e76529d38de9d16c8bbc27c58000efa32beab (patch)
treea5a4f0e3a31bb5d1616c9e2618e4b4a565cd3ce6 /cargo_wrapper.py
parent7a4fea8669cc0602d9bdda6727b855a7cbe8f0e2 (diff)
meson: build tests, bins and examples
Best to build as much as possible so we can detect build breakage earlier and we won't have to build tests when running them.
Diffstat (limited to 'cargo_wrapper.py')
-rw-r--r--cargo_wrapper.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/cargo_wrapper.py b/cargo_wrapper.py
index d72211025..c8b143094 100644
--- a/cargo_wrapper.py
+++ b/cargo_wrapper.py
@@ -29,8 +29,9 @@ env['PKG_CONFIG_PATH'] = ':'.join(pkg_config_path)
if command == 'build':
# cargo build
ext = sys.argv[7]
- cargo_cmd = ['cargo', 'build', '--manifest-path',
- os.path.join(meson_current_source_dir, 'Cargo.toml'),
+ cargo_cmd = ['cargo', 'build', '--all-targets',
+ '--manifest-path', os.path.join(
+ meson_current_source_dir, 'Cargo.toml'),
'--workspace']
if target == 'release':
cargo_cmd.append('--release')