Please note that before loading the project in your development environment on macOS, you must run build_all_macos.sh at least once to download and check for dependencies.
This template provides a complete CMake project for JUCE plugin development. It also includes shell scripts, which automate compiling for all architectures and macOS versions (including legacy 10.9 support), as well as Windows 32- and 64-bit plugins.
The project is configured to compile all available plugin standards, including AudioUnit, AudioUnit v3, VST2, VST3, AAX and Standalone.
The limiter algorithm I included is only for demonstration and is not meant to be high quality. The PluginEditor is not instantiated, so it depends on the default graphical interface provided by JUCE or the host.
The code, however, provides all the necessary boilerplate, including JSON serialisation of the registered parameters.
The template and the projects are macOS centric and to be used with CLion (preferred), Xcode (project generator script is installed). Working with CLion is possible with just the Command Line Tools installed without Xcode.app.
You will see some warning messages during linking about mismatching macOS versions. You can safely ignore these warnings.
The scripts and projects will also attempt to sign produced binaries with the available Developer ID Application
licence.
If you don't need to sign your binaries or don't have an Apple developer ID subscription, you can comment out or remove the codesign
commands.
The template should also be compatible with Windows, although it's not actively tested. I included a Visual Studio project generation batch file. Things may not work out of the box; you might need to modify some of the build files / scripts to fit your configuration.
JUCE is included in the project as a git subtree, and there's a shell script to update JUCE. This JUCE version contains custom patches that speed up compilation (with ccache) and allow compiling AUv3 using ninja
without using Xcode projects or xcodebuild
.
Starting with JUCE8, AAX SDK is shipped with JUCE. However, you won't be able to use it without a signed agreement with Avid and installed PACE Tools. Please check JUCE documentation for more information.
Have fun,
George Yohng