Custom stand alone app and Projucer


I am trying to configure our project with Projucer. We have a custom standalone app and I found the macro JUCE_USE_CUSTOM_PLUGIN_STANDALONE_APP. But now I wonder where to put the code for the custom class. If I just add it to the files in Projucer it ends up in the SharedCode library project. I don’t think it belongs there. Any suggestions ? Or do I have to break out of the Projucer project creation and roll my own ?



It’s ok if it is in the sharedcode library as the linker will strip out any unused code from the plug-in targets anyway. In the end, your custom standalone app class will only be in the standalone binary (when building in release).