Adding Juce to existing projects

Hi, are there any guidelines anywhere for adding Juce to an existing project, i.e. not using Intro/Projucer?



I don't know about any guidelines.

And I haven't done this for years. But some things I do remeber that might help:

It depends on what you want to do.
If you don't need any JUCE GUI stuff, it might work to just add the classes (and their dependencies) you want to use.
If not and you run your own event loop, call


otherwise, use the START_JUCE_APPLICATION macro when initialising your application.

An old project where I contributed an "audio engine" using JUCE to an Objective-C codebase:
The is the main interface between.

Hi, it may not help entirely, but I haven't found any guideline for integrating the libraries into a project.
All you need to do is to add the appconfig, juceheader.h and juceheader.cpp to your project and you are set!

Hey old topic, but couldn’t really get this working.

Is this still the way to go? Could anyone confirm how to do this with Juce 6?

Thanks in advance!

Depending on what you’re trying to do, the new CMake support in JUCE 6 is likely to be the lowest-friction and best-supported approach to use JUCE without the Projucer.

To get started, you might find the example projects in examples/CMake and the API reference in docs/CMake helpful.