Skip to content
Projects

anthonyalfimov/JUCE-CMake-Plugin-Template

View on GitHub

About

Audio Plug-in template using JUCE 7-9 and CMake

Design & Media

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

JUCE CMake Audio Plugin Template

Build

A template for creating an audio plug-in using JUCE and CMake that can be used as a drop-in replacement for Projucer.

  • Works as a drop-in replacement for Projucer, no changes to the source code are necessary! The template can also be used alongside a .jucer project.
  • Generates clean Xcode and Visual Studio projects (reasonable source file organisation, only the necessary build schemes for Xcode).
  • Uses CMake to manage dependencies (e.g. JUCE). The template creates a shallow clone of the specified git tag or branch to reduce download times and disk usage.
  • Uses GitHub Actions to build and validate the plugin on MacOS and Windows. Dependencies and compiler output are cached for faster builds.

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.15

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

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


To generate a Visual Studio 2026 (18) project, run:

cmake -B Build -G "Visual Studio 18 2026"

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:

Explore related projects

Loading…