Home

Awesome

JUCE CMake Audio Plugin Template

Build

A template for creating an audio plugin using JUCE 6/7 and CMake.

To learn how to replace a Projucer project with this template, see the Migrating from Projucer guide.

Generating IDE project

To generate an Xcode project, run:

cmake -B Build -G Xcode -D CMAKE_OSX_ARCHITECTURES=arm64\;x86_64 -D CMAKE_OSX_DEPLOYMENT_TARGET=10.13

The -D CMAKE_OSX_ARCHITECTURES=arm64\;x86_64 flag is required to build universal binaries.

The -D CMAKE_OSX_DEPLOYMENT_TARGET=10.13 flag sets the minimum MacOS version to be supported.


To generate a Visual Studio 2022 (17) project, run:

cmake -B Build -G "Visual Studio 17"

Building

To build the generated IDE project from the command line, run:

cmake --build Build --config Debug

References

Based on the JUCE/examples/CMake/AudioPlugin template.

Inspired by: