Home

Awesome

JUCE Console App Example

A very basic example to create a JUCE console app.

The app is also set up to run the message thread, spawn timers, etc.

To configure, you can use CMake to generate a project.

So for example, from the root of the repo:

cmake -G Ninja -B build
cmake --build build
./build/App/ConsoleAppMessageThread_artefacts/ConsoleAppMessageThread

For Xcode, replace the first command with:

cmake -G Xcode -B build

Or for Visual Studio:

cmake -G "Visual Studio 17 2022" -B build

For people not used to CMake, I've also added a Projucer project file in the 'App' directory. (But please don't use it! Use CMake)