Share via


Enabling Code Analysis in the IDE (Windows Embedded CE 6.0)

1/5/2010

You can enable the Code Analysis tool from the Windows Embedded CE 6.0 IDE.

To enable Code Analysis from the IDE

  1. Open the project that contains the source code you want to analyze.

  2. Create a subproject of your project.

    For more information, see Creating a Subproject.

  3. After the subproject is created, navigate to the subproject in the Solution Explorer pane.

  4. Right-click the subproject node, and choose Properties to open the Editing Sources dialog.

  5. Select the C/C++ tab.

  6. In the Misc list, select Code analysis

  7. and then choose one of the following options

    • No – disables code analysis
    • Yes (/analyze) – enables code analysis
    • Yes, but ignore /WX for analysis warnings (/analyze:WX-)
  8. Choose Ok.

  9. Configure and build your subproject.

    For more information, see Preparing to Build a Subproject.

See Also

Concepts

Code Analysis Overview

Other Resources

C/C++ Code Analysis