Intel® Advisor User Guide

ID 766448
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Add a Copy of the C/C++ Annotation Definition File to Your Visual Studio* Project

NOTE:
In Visual Studio* 2022, Intel Advisor provides lightweight integration. You can configure and compile your application and open the standalone Intel Advisor interface from the Visual Studio for further analysis. All your settings will be inherited by the standalone Intel Advisor project.

If you do not want to refer to the installed C/C++ annotation include header file, you can reference a solution- or project-specific copy of it.

To add a project-specific annotations include file to your Visual Studio project:

  1. In Solution Explorer, right-click the project where you want to create the Intel® Advisor annotation header file.

  2. Click Add > New Item... The Add New Item dialog box opens.
  3. Under Installed Templates, click Intel Advisor [version].

  4. In the middle column, click advisor-annotate.

  5. Type a file name for this include file, such as advisor-annotate.h for the C/C++ header file.

  6. Verify the directory containing the solution- or project-specific header file and click Add.

In Solution Explorer, a copy of the header file appears as a file under the project folder.