Build the project with batch build "devenv" from Visual Studio 2005* or 2008* from command line

Refer to this article for using "msbuild" to build Visuall C++ 2010* project with Intel C++ compiler 12.x.

To support batch-mode execution, the Integration Tool includes the /IntelSpecific command-line option. This feature is provided only with the IDE integration with Visual C++ .NET 2003, Visual C++ 2005* and 2008*.

The syntax of the batch-mode invocation for Microsoft Visual C++* is:

>> devenv.exe solutionfile.sln /build solutionconfig [ /project projectnameorfile [ /projectconfig name ] ] /IntelSpecific compilername [compilerversion]

Compilername: Intel, or Microsoft
Compilerversion: listed below for each version.

The examples of the batch-mode invocation of Intel® C++ Compiler 12.x for Microsoft Visual C++* 2005 or 2008 are:

>> Devenv.exe /rebuild "Debug" tr60150.sln /IntelSpecific Intel
>> Devenv.exe /rebuild "Debug|Win32" hello.sln /out "build.out" /IntelSpecific Intel "Intel C++ 12.0.xxx [IA32]"

 

The examples of the batch-mode invocation of Intel® C++ Compiler 11.x for Microsoft Visual C++* 2005 or 2008, or .NET 2003 are:

>> Devenv.exe /rebuild "Debug" tr60150.sln /IntelSpecific Intel
>> Devenv.exe /rebuild "Debug|Win32" hello.sln /out "build.out" /IntelSpecific Intel "Intel C++ 11.0.xxx [IA32]"

 

The examples of the batch-mode invocation of Intel® C++ Compiler 10.x for Microsoft Visual C++* 2005 or 2008, or .NET 2003 are:

>> Devenv.exe /rebuild "Debug" tr60150.sln /IntelSpecific Intel
>> Devenv.exe /rebuild "Debug|Win32" hello.sln /out "build.out" /IntelSpecific Intel "Intel C++ 10.0.xxx [IA32]"

>> Devenv.exe /rebuild "Debug|Win32" hello.sln /out "build.out" /IntelSpecific Intel "Intel C++ 10.1.xxx [IA32]"

The examples of the batch-mode invocation of Intel® C++ Compiler 9.1 for Microsoft Visual C++* 2005 are:

>> Devenv.exe /rebuild "Debug" tr60150.sln /IntelSpecific Intel
>> Devenv.exe /rebuild "Debug" tr60150.sln /IntelSpecific Intel "Intel C++ 9.1 [IA32]"
>> Devenv.exe /rebuild "Debug|Win32" tr60150.sln /IntelSpecific Intel "Intel C++ 9.1 [IA32]"
>> Devenv.exe /rebuild "Debug|x64" tr60150.sln /IntelSpecific Intel "Intel C++ 9.1 [IA32_EM64T]"
>> Devenv.exe /rebuild "Debug|Itanium" tr60150.sln /IntelSpecific Intel "Intel C++ 9.1 [IA32_Itanium]"

The examples of the batch-mode invocation of Intel® C++ Compiler 9.1 for Microsoft Visual C++ .NET 2002 or 2003 are:

>> Devenv.exe /rebuild "Debug" hello.sln /IntelSpecific Intel
>> Devenv.exe /rebuild "Debug" hello.sln /IntelSpecific Intel "Intel C++ 8.1 [IA32]"
>> Devenv.exe /rebuild "Debug" hello.sln /IntelSpecific Intel "Intel C++ 9.0 [IA32]"
>> Devenv.exe /rebuild "Debug" hello.sln /IntelSpecific Intel "Intel C++ 9.1 [IA32]"

The examples of the batch-mode invocation of Intel® C++ Compiler 9.0 for Microsoft* Visual C++ .NET 2002 or 2003 are:

>> Devenv.exe /rebuild "Debug" hello.sln /IntelSpecific Microsoft
>> Devenv.exe /rebuild "Debug" hello.sln /IntelSpecific Intel
>> Devenv.exe /rebuild "Debug" hello.sln /IntelSpecific Intel "Intel C++ 9.0"

The examples of the batch-mode invocation of Intel® C++ Compiler 8.1 for Microsoft Visual C++ .NET 2002 or 2003 are:

>> Devenv.exe /rebuild "Debug" hello.sln /IntelSpecific Microsoft
>> Devenv.exe /rebuild "Deb ug" hello.sln /IntelSpecific Intel
>> Devenv.exe /rebuild "Debug" hello.sln /IntelSpecific Intel "Intel C++ 8.1"
For more complete information about compiler optimizations, see our Optimization Notice.