I have a code of a Plug In from an SDK.
The code is in Debug Mode.
I use Intel Compiler which only applies optimizations in Release Mode.
Under configuration manager of the project only “Debug” mode is defined.
How could I switch to “Release” mode and enable all Intel Compiler’s optimizations?
If I enable them on debug mode nothing is applied (Empty Report).
I couldn’t find the trick to do so.
Thank You.
P.S.
I do use the /MT switch yet still.
Ok, here is the solution,
First of all using the /MD or /MD, which is trivial.
Then define NDEBUG.
Pay attention to do this in every file in the project.
In my case, some files were set to /MTd which sets the Debug mode.
I used Intel Compiler and this thread might help:
http://software.intel.com/en-us/forums/topic/328136