summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgaryscavone <garyscavone@users.noreply.github.com>2022-12-10 18:06:19 -0500
committerGitHub <noreply@github.com>2022-12-10 18:06:19 -0500
commiteb549e124b03a97ca2eb7abfbc2b243020b720ba (patch)
tree13f9cc0cc647baaaf68e4ae376efe40ed0734bf7
parentc59e15db9a5662331007f64554c8e7dca4af0f33 (diff)
parent5528087d0fbd0325f6622cce12fee2b883d2d408 (diff)
Merge pull request #370 from MonicaLiu0311/vcpkg_installition
Add vcpkg installation instructions
-rw-r--r--README.md1
-rw-r--r--install.txt13
2 files changed, 14 insertions, 0 deletions
diff --git a/README.md b/README.md
index 291c05c..935004e 100644
--- a/README.md
+++ b/README.md
@@ -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.