Using the Intel® C++ Compiler

Using the Intel® C++ Compiler within Visual Studio*

  1. Create a Visual C++* project, or open an existing project.

  2. In Solution Explorer, select the project(s) to build with Intel® C++ Compiler.

  3. In Project > Properties, select the Configuration Properties category. In the General property page, change the Platform Toolset to Intel C++ Compiler.

    Alternatively, you can select the toolset by selecting Project > Intel Compiler > Use Intel C++. This sets whichever version of the Intel® Compiler that you specify as the toolset for all supported platforms and configurations.

    Selecting this toolset results in the display of Intel-specific property pages and properties.

  4. To add options, open the project property page by selecting Project > Properties. You can add compiler options to the Additional Options field in C/C++Command Line, or by selecting options from Intel specific properties. Refer to complete list of options in the Compiler Options section in this documentation.

  5. Rebuild, using either Build > Project only > Rebuild for a single project, or Build > Rebuild Solution for a solution.

Verify Use of the Intel® C++ Compiler

After rebuilding your application with "Suppress Start Banner to No" set, look at the Output window. You should see a message similar to the following when using the Intel® C++ Compiler:

Intel(R) C++ Compiler XE 15.0 for applications running on IA-32, Version 15.X.X.X

Unsupported Visual C++* Project Types

The following project types are not supported:

  • Empty Project (.NET)
  • Class Library (.NET)
  • Console Application (.NET)
  • Windows* Control Library (.NET)
  • Windows* Forms Application (.NET)
  • Windows* Service (.NET)

Tips for Ease of Use

  • Create a separate configuration for building with Intel® C++ Compiler:

    • After you have created your project and specified it as an Intel® C++ project, create a new configuration (for example, "rel_intelc" based on "Release" configuration or "debug_intelc" based on "Debug" configuration).

    • Add any special optimization options offered by Intel® C++ Compiler only to this new configuration (for example, "rel_intelc" or "debug_intelc") through the project property page.

  • Build with Intel® C++ Compiler.

For more complete information about compiler optimizations, see our Optimization Notice.