How to find which projects are set to use Intel C++ Compiler within Visual Studio 2010

Submit New Article

August 31, 2010 9:00 PM PDT


If you have used the Intel C++ Compiler 11.1 for Windows, or Intel Parallel Composer or Intel Parallel Composer 2011 in Visual Studio 2005* or Visual Studio 2008*, you may be familiar with the small purple icon displayed aside of the projects that are set to use Intel C++ like below that means the project has been set to use Intel C++ compiler:
 Proj_icon.jpg

But when you use the Intel Parallel Composer 2011 or Intel C++ Composer XE with Visual Studio 2010*, you will not see this icon any more after you set the projects to use Intel C++. There is a limitation from Visual Studio 2010 when integrating such icon image. Below is what it looks even after setting the project to use Intel C++ compiler:  
  Proj_icon_vs2010.jpg

While we are exploring better solutions for solving this issue, we have created a macro tool to help you to find out which projects and configurations in the solution are using the Intel C++ compiler.

Below is the steps on downloading/installing/using the macro tool:

  1. Download the macro tool by clicking here (or download the attachment below) and extract the macro file "IntPkgMacros.vsmacros" to a location like [composer2011-install-dir]\Composer\VS Integration\C++
  2. Open Visual Studio 2010 and load one of your application solution
  3. Select menu "Tool -> Macros -> Load Macro Project" and select the above macro file
    LoadMacroProj.jpg
  4. Open the Macro Explorer window from menu "View -> Other Windows -> Macro Explorer"
    1. in Macro Explorer, select IntPkgMacros -> ListProjectsUisngIntelc, right click on "ListIntelPrjsActiveCfg", select "Run"
      MacroRun.jpg
    2. when the macro finished work, you will see something like below in the output window:

      Intel-specific projects for all configurations
      =================================================================
      forTest\pi [Debug|Win32] --> Intel Parallel Composer 2011
      forTest\pi [Release|Win32] --> Intel Parallel Composer 2011


      "forTest\pi" is the project "pi" under the folder "forTest".
      [Debug|Win32] or [Release|Win32] is configuration.

 



Do you need more help?
Article Attachments


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