summaryrefslogtreecommitdiffstats
path: root/third_party/rust/cubeb-coreaudio/build-audiounit-rust-in-cubeb.sh
blob: 15cd63be629dd91f7652e6821758012de0d5869a (plain)
1
2
3
4
5
6
7
8
9
10
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