Selecting the Intel® C++ Compiler

This topic discusses integrating the Intel® C++ Compiler with Microsoft* Visual Studio* .NET.

In this example, you are compiling the gzip.exe application.

Select the Intel C++ Compiler to Compile your Project

You want to use the Intel C++ Compiler as the compiler for your project.

1.

With Solution Explorer, select the project whose settings you want to modify, in this case, the gzip project.

2.

Right-click on the gzip project name, then select Properties.

3.

Be sure the correct configuration is selected (in the red frame). In this case, you want to modify just the Release version.

4.

Select Intel® Specific in the left pane (in the orange frame).

5.

The right pane displays the Compiler and Environment Settings. Select Intel C++ Compiler (icl.exe) from the drop-down list (in the blue frame).

6.

Click OK.

Select the Microsoft Compiler for an Individual File

Although you chose the Intel compiler as your project's compiler, you want to use the Microsoft compiler to compile a specific file within the project.

1.

With Solution Explorer, select the file whose settings you want to modify.

2.

Right-click on the file name, then select Properties.

3.

Be sure the correct configuration is selected (in the red frame).

4.

Select Intel® Specific in the left pane (in the orange frame).

5.

The right pane displays the Compiler and Environment Settings. Select Microsoft Visual C++ Compiler (cl.exe) from the drop-down list (in the blue frame).

6.

Click OK.