Okay, so the Amalgamated version of juce is super, and super useful. However, when it comes to debugging, it’s a bit of a pain in the bum-bum.
So, if i need to follow a bug into the depths of juce, it’s much easier to juce use the normal juce project.
Now, when i do this, i have to remove the juce_amalgamated.cpp file from my main project. I include juce via a custom JuceHeader.h file, which includes either juce.h or juce_amalgamated.h based on a macro define.
Ideally, I want to be able to change the juce method based on configuration [e.g. Debug, Release, Debug(amalgamated), Release(amalgamated)]. It’s easy enough to get the bulk of this idea working, but I can’t think of a way to exclude the juce_amalgamated.cpp file from a project based solely on settings.
The only thing i can think of is to just have ANOTHER project, which just contains the juce_amalgamated files. The configurations specify which project to use based on their linker/dependency settings.
Can anyone think of a simpler way of doing this?