Intel® oneAPI DPC++/C++ Compiler Developer Guide and Reference

ID 767253
Date 9/08/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Convert Projects to Use a Selected Compiler

You can use the command-line interface ICProjConvert<version>.exe to transform your Intel® C++ projects into Microsoft Visual C++ projects, or vice versa. The syntax is:

ICProjConvert<version>.exe <sln_file | prj_files> </VC[:"VCtoolset name"] | /IC[:"ICtoolset name"]> [/q] [/nologo] [/msvc] [/s] [/f]

Where:

Parameter

Description

version

The ICProjConvert version number. Values are: 191 or 192.

sln_file

A path to the solution file, which should be modified to use a specified project system.

prj_files

A space separated list of project files (or wildcard), which should be modified to use specified project system.

/VC

Convert to use the Microsoft Visual C++ project system.

VCtoolset name

The possible values are v141 (Microsoft Visual Studio 2017), v142 (Microsoft Visual Studio 2019), or v143 (Microsoft Visual Studio 2022).

NOTE:
Support for Microsoft Visual Studio 2017 is deprecated as of the Intel® oneAPI 2022.1 release, and will be removed in a future release.

/IC

Convert to use the Intel® C++ project system.

ICtoolset name

Such as Intel C++ Compiler 2021.1

Depending on the integration version, the supported name values may be different.

/q

Starts quiet mode, all information messages (except errors) are hidden.

/nologo

Suppresses the startup banner.

/msvc

Sets the compiler to Microsoft Visual C++.

/s

Searches the project files through all subdirectories.

/f

Forces an update to the project even if it has an unsupported type or unsupported properties.

/? or /h

Shows help.

Example

To convert all Intel® C++ project files to use Microsoft Visual C++ in your current directory and its subdirectories, use the command:

ICProjConvert<version>.exe *.icproj /s /VC

NOTE:
If you uninstall the Intel® oneAPI DPC++/C++ Compiler, ICProjConvert<version>.exe remains in the folder Program Files (x86)\Common Files\Intel\shared files\ia32\Bin. You can use it to transform Intel® C++ projects back into Microsoft Visual C++.