Command line tool to change Visual C++ project to use Intel C++ compiler

Submit New Article

September 5, 2011 1:00 AM PDT


Introduction

Intel® C++ Compiler for Windows provides a command line tool to set a Visual C++ project to use Intel C++ compiler. You can use the command line tool as an alternative if you do not want to set the Visual C++ project within IDE.

This tool is called ICProjConvertXXX.exe and is installed under <common files>\Intel\Shared Files\ia32\Bin directory. The tool name changes from release to release. The following table shows the tool name and corresponding Intel C++ Compiler product version:

ICProjConvert100.exe Intel C++ Compiler for Windows 10.x
ICProjConvert110.exe Intel C++ Compiler for Windows 11.x
ICProjConvert120.exe Intel C++ Composer XE for Windows update 5 or older
ICProjConvert121.exe Intel C++ Composer XE for Windows update 6 and newer


This tool will remain on your system even if you uninstalled the Intel C++ Compiler for Windows or Intel C++ Composer for Windows. Because it is the only tool to set an Intel C++ project back to Visual C++.

Usage

The usage of the tool is described below:

 

>>ICProjConvert121.exe /?
Intel(R) C++ Project Converter, version 12.1.1095.2008
Copyright (C) 2002-2011 Intel Corp. All rights reserved.

Usage: ICProjConvert121.exe <sln_file | prj_files> [/VC | /IC] [/q] [/nologo]
[/msvc] [/s] [/f]
Where:
sln_file - is a path to solution file, which should be updated to
specified project system.
prj_files - space separated list of project files (or wildcard), which
will use the specified project system.
/VC - to use the Visual C++ project system.
/IC - to use the Intel C++ project system.
/q - quiet mode, all information messages (except errors)
are hidden.
/nologo - suppress startup banner.
/msvc - set the compiler to MS VC++.
/s - search the project files through all subdirectories.
/f - force to update the project even if it has unsupported
type or properties.
/? or /h - show help.

 


Examples

If the solution or project is a Visual Studio 2005 or 2008 project, use following:

// set the whole solution to use Intel C++ compiler
>> icProjConvert121 mytest_vs2008.sln /IC

// set project "lib1" of mytest_vs2008.sln to use Intel C++ compiler
>> icProjConvert121 mytest_vs2008.sln lib1 /IC

 

If the solution or project is a Visual Studio 2010 project, use the following:

// set the whole solution to use Intel C++ compiler 12.1 (update 6 and newer)
>> icProjConvert121 mytest_vs2010.sln /IC:"Intel C++ Compiler XE 12.1"

// set project "lib1" of mytest_vs2010.sln to use Intel C++ compiler 12.1
>> icProjConvert121 mytest_vs2010.sln lib1 /IC:"Intel C++ Compiler XE 12.1"

// set the solution to use Intel C++ compiler 12.0 (update 5 or older)
>> icProjConvert121 mytest_vs2010.sln /IC:"Intel C++ Compiler XE 12.0"

 



Do you need more help?


This article applies to: Intel® C++ Compiler for Windows* Knowledge Base,   Intel® Parallel Composer Knowledge Base