diff options
Diffstat (limited to 'third_party/rust/cubeb-coreaudio/build-audiounit-rust-in-cubeb.sh')
-rw-r--r-- | third_party/rust/cubeb-coreaudio/build-audiounit-rust-in-cubeb.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/rust/cubeb-coreaudio/build-audiounit-rust-in-cubeb.sh b/third_party/rust/cubeb-coreaudio/build-audiounit-rust-in-cubeb.sh new file mode 100644 index 0000000000..15cd63be62 --- /dev/null +++ b/third_party/rust/cubeb-coreaudio/build-audiounit-rust-in-cubeb.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +git clone --recursive https://github.com/mozilla/cubeb.git +cd cubeb/src +git clone https://github.com/mozilla/cubeb-coreaudio-rs.git +cd ../.. +mkdir cubeb-build +cd cubeb-build +cmake ../cubeb -DBUILD_RUST_LIBS="ON" +cmake --build . +CUBEB_BACKEND="audiounit-rust" ctest
\ No newline at end of file |