Some plugins I work on require a 3rd party licenser resource file (.rc) which needs to be added to each plugin target within VisualStudio (vst, vst3, aax). It’s not enough to just add it to the shared code target.
Is it possible to automate this from the Projucer? Either directly or through some script?
IIRC, Projucer will filter source files based on suffixes. For instance, modules/juce_audio_plugin_client/juce_audio_plugin_client_AAX.cpp is only added to the AAX target because it ends with _AAX. I am not sure whether that will work but you could try the following:
copy and rename (add the corresponding suffix) the resource file for each plugin format
add all .rc files to the project in Projucer (exclude the original one from compilation)