diff options
| author | Monica <v-liumonica@microsoft.com> | 2022-09-15 14:20:07 +0800 |
|---|---|---|
| committer | Monica <v-liumonica@microsoft.com> | 2022-09-15 14:20:11 +0800 |
| commit | 5528087d0fbd0325f6622cce12fee2b883d2d408 (patch) | |
| tree | 3f9d4fb16e99dc751b017f9521896e4817b65945 | |
| parent | a3e9aa621e65a0744f125e9740d057a4d088e0e9 (diff) | |
Add vcpkg installation instructions
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | install.txt | 13 |
2 files changed, 14 insertions, 0 deletions
@@ -35,6 +35,7 @@ Several build systems are available. These are: - autotools (`./autogen.sh; make` from git, or `./configure; make` from tarball release) - CMake (`mkdir build; cd build; ../cmake; make`) - meson (`meson build; cd build; ninja`) + - vcpkg (`./bootstrap-vcpkg.sh; ./vcpkg integrate install; ./vcpkg install rtaudio`) See `install.txt` for more instructions about how to select the audio backend API. By default all detected APIs will be enabled. diff --git a/install.txt b/install.txt index 98ef371..693ff5d 100644 --- a/install.txt +++ b/install.txt @@ -42,6 +42,19 @@ cd _build_ cmake <path to CMakeLists.txt usually two dots> <options> e.g. cmake .. -DRTAUDIO_WINDOWS_WASAPI=ON +VCPKG USAGE: + +You can build and install rtaudio using [vcpkg](https://github.com/Microsoft/vcpkg/) dependency manager: + +git clone https://github.com/Microsoft/vcpkg.git +cd vcpkg +./bootstrap-vcpkg.sh # ./bootstrap-vcpkg.bat for Windows +./vcpkg integrate install +./vcpkg install rtaudio + +The rtaudio port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please [create an issue or pull request](https://github.com/Microsoft/vcpkg) on the vcpkg repository. + + WINDOWS: All Windows audio APIs in RtAudio compile with either the MinGW compiler (tested with latest tdm64-gcc-4.8.1) or MS Visual Studio. |
