What are the differences in IDE Integration of Visual Studio 2010 and Visual Studio 2005/ 2008

Submit New Article

August 31, 2010 9:00 PM PDT


The Intel(R) Parallel Composer 2011 and Intel C++ Composer XE Windows support Microsoft* Visual Studio 2010* standard edition or above. Because the support for 3rd party tools of Visual Studio 2010 is different than Visual Studio 2005* or 2008*, our IDE integrations are also different.


The major differences of the IDE integrations are listed below:

Features

Visual Studio 2005 or 2008

Visual Studio 2010

Toolbar: Intel Parallel Debugger Extension

idb_toolbar.jpg

Same as left

Toolbar: Intel C++

icl_toolbar.jpg

None

Icon for project using Intel C++ compiler

Proj_icon.jpg

None

Proj_icon_vs2010.jpg

Please see this article for alternative.

Project context menu

Proj_Context.jpg
Or
xe_vx2005_proj_menu.png

Same as left except no "Select Build Components" menu item.

Set a solution or project to use Intel C++ from command line

>> ICProjConvert120 myProj.sln /IC

>> ICProjConvert120 lib1.vcproj /IC

 

None

Set a solution or project to use Intel C++ within IDE

1. Select the solution or project or projects

2. Click on 2nd icon on icl_toolbar.jpg

3. Or right click on the solution or selected project(s), select "Intel Parallel Composer 2011 -> Use Intel C++" from Context Menu

4. Or click menu "Project", select "Intel Parallel Composer 2011 -> Use Intel C++"

Same as left except #2 is not supported here.

Set only the hotspot file to use Intel C++

Note: if the source file is set to use Precompiled Headers, change to "Not Using Precompiled Headers" before compiling from the file's property page.

1. Right click on the source file name "hotspot.cpp"

2. Select "Intel Parallel Composer 2011 -> Use Intel C++ for Selected File(s)..." from Context Menu

set_single_file.jpg
or
xe_vs2005_proj_menu2.png

Same as left

Use Intel IPP and Intel TBB in a project

Click 4th icon on icl_toolbar.jpg

1. Open project(s) property dialog

2. Select "Intel Performance Libraries" tab right above "VC++ Directories" tab

** See the tab with orange oval in the picture below

Set Intel C++ Compiler specific options

Look for "Intel Specific" on each property page:

vs2005_prop.jpg

Look for tab name with "Intel":

vs2010_prop.jpg

Support batch mode build

Yes

>>Devenv.exe /rebuild "Debug|Win32" hello.sln /out "build.out" /IntelSpecific Intel "Intel(R) C++ 12.0.xxx"

 

No

Support MSBuild

No

Yes

>>msbuild nq-serial.vcxproj /t:rebuild /p:configuration=release

Setting default options for all projects using Intel C++ compiler

From Tools Options dialog, select "Intel C++"

vs2005_opt.jpg

Similar to left, added "Convert" page with default settings for converting .icproj data created for VS2005/2008 project into .vcxproj for VS2010 project:

vs2010_opt.jpg

What happens when setting a project to use Intel C++

1. .sln is modifed to load the Intel C++ IDE packages.

2. .vcproj file is not modified.

3. A .icproj file is created for each .vcproj file to store Intel C++ specific options; if a .icproj already exists, it will be reused when switching to Intel C++.

1. .sln is not modified

2. .vcxproj is modified

3. The Intel C++ specific options are stored in .vcxproj file

What happens if you uninstalled Intel Parallel Composer 2011, but forgot to reset the project back to use Visual C++

1. The project can not be loaded.

2. You need to use "ICProjConvert120.exe" to reset from command line

>> ICProjConvert120.exe hello.sln /VC

1. The project will load, but will not compile.

2. You just need to change the "Platform toolset" on the Project Property page to "v100"

vs2010-prop-2.jpg



Do you need more help?


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