I have some source on my project that need /clr option, what is the best way to enable it in Projucer?
I added it to “Extra compiler flags”, but since /clr also needs /EHa, and the project is generated with /EHs as default, I had no option but edit the properties on VS.
I guess I should be able to configure all this from Projucer, right? How?
You’ll need to re-order to command line options so that \EHa is before \clr - I don’t have a copy of VS2015 installed to test this with but it worked for me in VS2017.
It worked, thanks!
I don’t need to edit the VS project anymore.
For those who will face the same problem as me, since JUCE is not compatible with /clr, I added this to AppConfig.h to ignore /clr on all juce sources: