Hi, I’m currently building (with Xcode) Juce as a static lib, and linking this lib against the compiled {plug-ins wrappers + plug-in code}.
In order to have all config generic, I use the common AppConfig.h header in the Juce lib (#define JUCE_MODULE_AVAILABLE_juce_* 1 […]), and a modified AppConfig.h with wrapper config macros when compiling the wrapper and the plug-in code (#ifndef JucePlugin_* #define JucePlugin_* […]).
That’s working well and cuts my compiling waitings by a great factor, given the fact that I’m building many plug-ins and often alter the modified AppConfig.h or switch branches which alter this header but not the juce modules’ AppConfig.h anymore.
However, this leads to a duplicate AppConfig.h header, and the dependency check of Xcode does not behave correctly with that. Could it be possible to move the wrapper’s config macros (JucePlugin_*) into a new separate header (say PluginConfig.h or WrapperConfig.h for instance) and include this only where required? I think it would be pretty clean because these plug-in macros are not related to the other juce modules.
All the best