This is a problemI have noticed with both the previous version 10.x as well as the latest V11.0.072 Intel compiler + Visual Studio 2008 integrations. All executable files built with the Intel C++ compiler include debug symbol information (standard source file + function name + line number info) no matter if debug symbol generation is turned on or off. The standard Microsoft NDEBUG flag does not appear to eb honored, and manually adding /debug:none to the compiler command line does not change matters. Compiling with the same options using the built-in MSVC compiler does eliminate all debug symbols. An example command line is:
/c /O3 /Og /Ob2 /Oi /Ot /Oy /GT /Qipo /GA /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /GF /EHsc /MD /GS /Gy /fp:fast /Fo"Release/" /W3 /nologo /QaxHost /QxSSE2 /Qparallel /debug:none
Is there a technique I am missing here? The standard operation is a pain, requiring extra steps to process the executable to strip symbols and recalculate the checksum.