mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 11:30:59 +00:00
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.
This commit is contained in:
parent
7a4fea8669
commit
d98e76529d
1 changed files with 3 additions and 2 deletions
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue