Intel® oneAPI DPC++/C++ Compiler
Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
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 v142 (Microsoft Visual Studio 2019) or v143 (Microsoft Visual Studio 2022). | 
| /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