JuMake 0.1.7 Released
Sometime it's hard to configure a development enviroment for JUCE. As a beginner you want to start fast but C++ has its challenges. You need to intall a lot of stuff, before you can write your first line of code. JUCE offers two ways of handle your project: the Projucer app and CMake. Projucer uses a classic GUI to guide you. But it has limitations. You are forced to a hand full IDEs (VisualStudio on Windows and XCode on Mac, on Linux there's no really alternative.) With CMake on the other hand you can use a lot of IDEs (Clion, QtCreator, VS Code, Neovim, ...).
JuMake is a command-line tool for creating JUCE projects with CMake. It handles project structure, CMake configuration, and JUCE submodule setup automatically.
It's really easy to hande a JUCE-Project with JuMake. With jumake new <name> you make a new project. jumake build compiles the project.
You can even add new class-files with jumake add component Osc1Component. But it is pure CMake at the end.
Installation
Version 0.1.7 adds simplified installation methods for all platforms.
Windows (PowerShell):
iwr https://raw.githubusercontent.com/BaraMGB/JuMake/main/install.ps1 -useb | iex
macOS:
brew tap BaraMGB/tap
brew install jumake
Linux (Debian/Ubuntu):
wget https://github.com/BaraMGB/JuMake/releases/latest/download/jumake-linux-x64.deb
sudo dpkg -i jumake-linux-x64.deb
Example Usage
Create a new JUCE project:
jumake new MyPlugin
JuMake prompts for the project type (GUI Application, Audio Plugin, or Console App) and generates:
MyPlugin/
├── CMakeLists.txt
├── src/
│ ├── Main.cpp
│ ├── MainComponent.cpp
│ └── MainComponent.h
└── modules/
└── JUCE/ (submodule)
Build and run:
cd MyPlugin
jumake build
jumake run
Project Goals
JuMake reduces the boilerplate work when starting a new JUCE project. Instead of manually configuring CMake, cloning JUCE, and setting up the directory structure, you get a working starting point immediately.
The generated CMakeLists.txt is straightforward and can be modified as needed. No magic, no hidden configuration.
Downloads
Binaries and packages available at: https://github.com/BaraMGB/JuMake/releases
Source code and documentation: https://github.com/BaraMGB/JuMake