Skip to content

tats-u/portaudio_autobuild_windows

Repository files navigation

PortAudio Automatic Build Script for PowerShell

Languages: 🇯🇵

How to use

Clone or git submodule add this repo, or just download build_portaudio_win.ps1.

Then, all you have to do is just to execute the script. ASIO & WASAPI are enabled by default in Windows.

.\build_portaudio_win.ps1

And copy the built library files (static library / DLL) to your project.

Copy-Item portaudio_build\Release\portaudio_x64.dll $USERPROFILE\path\to\your\project\build\Release\

Requirements

  • Visual C++ 2019 or 2017 (only in Windows)
  • CMake 3.13+ (what is bundled in Visual Studio 2019 is acceptable)
  • Ninja (what is bundled in VS is acceptable; optional)
  • WintellectPowerShell (only in Windows)

Primary options

Name Description
-DebugBuild Builds for debug.
-PrefersNinja Builds using Ninja instead of MSBuild (Make in non-Windows).
-DownloadOnly Just downloads, doesn't build.

Compilation in non-Windows

You can build PortAudio by this script even in Linux (or macOS) if you install PowerShell 6+. You can install it to Linux by:

sudo snap install --classic powershell

After installation, execute this script by:

pwsh ./build_portaudio_win.ps1

License

MIT

About

Build PortAudio with ASIO support by just one command!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published