By default, when your project uses the Intel® C++ compiler, the Platform Toolset property is set to use the Intel® compiler, together with the build environment, including paths, libraries, include files, etc., of the toolset specific to the version of Visual Studio you are using.
You can also set the general project level property Base Platform Toolset to use one of the non-Intel installed platform toolsets as the base.
For example, if you are using Visual Studio 2015, and you selected the Intel® C++ compiler in the Platform Toolset property, then the Platform Toolset uses the Visual Studio 2015 environment. If instead you want to use the environment from Visual Studio 2013 along with the Intel® C++ compiler, set the Base Platform Toolset property to v120.
This property page displays all installed toolsets, not including Intel toolsets.
To set the Base Platform Toolset:
- Using property pages:
- Select the project and open Project > Properties .
- In the left pane, select Configuration Properties > General .
- In the right pane, find Intel Specific > Base Platform Toolset .
- Depending on the version of Visual Studio, either enter a value for the base platform (Visual Studio 2010), or select a value from the pop-up menu (Visual Studio 2012, 2013, and 2015).
- Using the msbuild.exe command line tool, use the /p:PlatformToolset and /p:BasePlatformToolset options. Example: When the Platform Toolset property is already set to use the Intel C++ compiler, to build a project using the Visual Studio 2010 environment use the following command:
Msbuild.exe myproject.vcxproj /p:BasePlatformToolset=v100Example: To explicitly set the Platform Toolset property to use the Intel C++ compiler and build a project using the Visual Studio 2010 environment use the following command:
Msbuild.exe myproject.vcxproj /p:PlatformToolset="Intel C++ Compiler XE 15.0" /p:BasePlatformToolset=v100