Jason Jason - 12 days ago 7
C++ Question

Configuring compiler optimization options in visual studio

Background:

I was having a hard time finding info on this so I was wondering if someone could help me out. Basically, I have a game engine project I'm creating for which I have two build targets currently, 'Debug' and 'Release' (pretty standard). I want to create a middle ground build target called 'Profile' which will still have more compiler optimizations than 'Debug' but less so than 'Release'. 'Profile' will give me the fastest development time while still providing me with basic debug functionality turned on.

Issue:

I'm not sure where I need to look or how I should go about creating my new build configuration in visual studio. Where do I select what compiler optimizations to turn off and on for my custom configuration? Is there a menu with a list somewhere? Keep in mind I'm talking about doing this through visual studio's gui and not command line.

Answer

I think, you are looking for this:enter image description here

It lists all possible options for optimizations in MSVC