Projucer HOW to override MSVC compiler flags?

Hi all,

I need to turn off option /EHs and turn on /EHa
how to do this while exporting MSVC project from Projucer ?

At the moment there’s no way to explicitly disable the /EHs option from the Projucer (as far as I’m aware). However, if you add /EHa to the “Extra Compiler Flags” field of the Visual Studio exporter, then the EHa flag will override the EHs flag. The build may generate some warnings that the EHs flag is being overridden, but the build output should use the async-capable exception model as expected.

2 Likes