Intel® C++ Compiler 19.0 Developer Guide and Reference Supplement for Intel® System Studio 2019

Building Windows* Applications Using Microsoft Visual Studio*

This topic applies to C++ and Windows* only.

To develop Windows* applications with Microsoft Visual Studio* 2015 and Microsoft Visual Studio* 2017, you must custom install optional components.

Installing Optional Components for Microsoft Visual Studio* 2015

  1. Run the Microsoft Visual Studio* 2015 installer and select Custom as the type of installation. Click Next to select the optional components to install.

    Note

    If you have already installed Microsoft Visual Studio* 2015, add optional components by going to Control Panel > Programs and Features > Visual Studio 2015 > Change. In the Microsoft Visual Studio* installer, choose Modify to change the optional components installed.

  2. Under Optional features to install, expand Programming Languages/Visual C++ and select Common Tools for Visual C++ 2015.

  3. Click Install to add the third-party components and install Visual Studio 2015.

Installing Optional Components for Microsoft Visual Studio* 2017

  1. Run the Microsoft Visual Studio* 2017 installer and select Custom as the type of installation. Click Next to select the optional components to install.

    Note

    If you have already installed Microsoft Visual Studio* 2017, add optional components by going to Control Panel > Programs and Features > Visual Studio 2017 > Change. In the Microsoft Visual Studio* installer, choose Modify to change the optional components installed.

  2. Under Workloads, select Desktop development with C++.

  3. Click Install.

After Installing Microsoft Visual Studio* 2015 or 2017

When the Microsoft Visual Studio* install is complete:

  1. Restart your system.

  2. Install the Intel® C++ Compiler to enable support for the compiler to build Windows* applications with Microsoft Visual Studio*.

Building Windows* Applications with Microsoft Visual Studio*

To build Windows* applications using the Intel® C++ Compiler from within all supported versions of Microsoft Visual Studio*:

  1. Create a Visual C++ project using a Visual C++ template for Windows* platform development. In the New Project dialog go to Templates > Other Languages > Visual C++ > General, choose a template and enter a name, location, and solution name to create a new project.
  2. Click OK to close the New Project dialog.
  3. In the Solution Explorer, select the project that you want to build with the Intel® C++ Compiler.
  4. Go to Project > Properties. The Property Pages dialog opens.
  5. Select Configuration Properties > General category. Under General property list, change Platform Toolset to Intel C++ Compiler.
  6. Click OK to save and close the Property Pages dialog.
  7. Optionally, to select a particular version of the compiler, go to Tools > Options and select Intel Compiler and Tools > C++ > Compilers. Before selecting the version for the compiler, set Target Platform to Win32.
  8. Optionally, to select a particular version of the performance libraries, go to Tools > Options and select Intel Compiler and Tools > Performance Libraries. Before selecting the version for the performance libraries, set Target Platform to Win32.

  9. Click OK to close the Options dialog.

You are ready to build native Windows* applications in Microsoft Visual Studio* using the Intel® C++ Compiler.