Reduce binary size

Dear OF experts,

I’m fairly new to OF and Visual Studio too. I did a quick search to see if it’s possible to reduce the binary size. I’ve seen a SO post that managed to reduce it from 4MB to a few hundred k on Android. I’m wondering if I can do the same with setting some flags in Visual Studio, Windows too.