Add several projects to the same .jucer

Is it possible to manage different plugins in the same .jucer file?

Thanks

How different are the plugins? If they only have a few specific settings but have the same name, it might be possible to put them within the same .jucer file. Outside of that, I don’t think that’s possible with Projucer.

You can have a look at FRUT (I’m the author), which allows you to use CMake to build your projects. It is pretty easy to combine projects in CMake (using the add_subdirectory command), while preserving their own specificities. Feel free to ask me any question about CMake/FRUT if you decide to follow that route.

You can add different targets (via exporters). But the nicer way is to move common code into modules, so you have only the pieces, that are distinct in the sources.
I had projects in the past, where only the

// This creates new instances of the plugin..
AudioProcessor* JUCE_CALLTYPE createPluginFilter()
{
    return new SignalGeneratorAudioProcessor();
}

was left in the jucer sources. Anything else was in modules…

1 Like