Does anybody know how to configure the Projucer so that it loads a project in Visual Studio 2022 with all optimizations set for maximum code execution speed?
My code runs fastest when my VS2022 optimizations look like this (using Clang):
I am able to control the top “Optimization” setting via the “Optimisation” setting in Projucer/Exporters/VS2022/Release. I’ve tried putting additional flags in the “configuration-specific compiler flags” field in Projucer (as pictured below), but this doesn’t seem to affect my VS2022 project settings. So at present, I’m manually configuring these settings every time I reload a project from the Projucer.
I haven’t profiled the missing five settings individually, but collectively they make a significant performance impact. Fiber-Safe Optimizations I suspect may go unused by Clang, as I get a compiler warning (“argument unused during compilation: /GT”) with it activated.