Developer Guide and Reference

Contents

Converting Projects to Use a Selected Compiler from the Command Line

You can use the command-line utility
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) or
v142
(Microsoft Visual Studio 2019).
/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
Issue the command
ICProjConvert<version>.exe
*.icproj
/s /VC
to convert all Intel® C++ project files in the current directory and its subdirectories to use Microsoft Visual C++.
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
and you can use it to transform Intel® C++ projects back into Microsoft Visual C++.

Product and Performance Information

1

Performance varies by use, configuration and other factors. Learn more at www.Intel.com/PerformanceIndex.