You can’t build a standalone just by changing a few flags - building an exe is different to building a dll, so you’d need to create a new project for it.
I’ve provided utility classes to do this in the plugins/standalone folder, but haven’t got any example code. You basically just have to write a small app that uses the standalone classes to load the plugin object. It’s not hard at all.
