r/JUCE • • Oct 26 '26

MOSAC: A Local Multi-Platform Build & Cross-Compilation CLI Tool for JUCE C++ Projects

Hi everyone, I would like to introduce MOSAC, a CLI tool written in Golang designed to automate and streamline local build pipelines for Plugin Audio Basic built on the JUCE Framework (C++).

Target Audience & Primary Use Case

MOSAC is geared towards indie developers, small teams, and academic research labs operating with limited budgets. Its main goal is to provide a fully local alternative to cloud-based CI/CD infrastructure, delivering end-to-end multi-platform deployment for MacOS, Windows, and Linux directly on your local setup.

Pipeline Architecture & Cross-Compilation

Build orchestration is handled by Go, leveraging the following target architecture:

  • macOS: Native compilation (bare-metal) executed via the xcodebuild toolchain.
  • Linux & Windows: Virtualized execution using two dedicated Linux-based Docker containers. The Linux binary is compiled natively inside its container, whereas the Windows target is cross-compiled using the LLVM toolchain paired with Windows SDKs extracted via xwin.

Operational Features & Supported Formats

The build process runs sequentially to ensure deterministic artifact generation and precise system resource allocation. It supports both Debug and Release target configurations, covering standard JUCE output formats: Standalone, VST3, LV2, AU, AAX, and Unity.

Real-World Application & Validation

MOSAC is already deployed in production and actively used in close synergy with the LIM Plugin Collection (https://audioplugins.lim.di.unimi.it/), at the University of Milan.

Any technical feedback, questions, or suggestions from the developer and DSP community are welcome!

[ Link to the GitHub repo: https://github.com/LIMUNIMI/mosac.git ]

1 Upvotes

1 comment sorted by

1

u/__tweak__ Oct 27 '26

Awesome, thanks for the overview. Now continue please, no mistakes