build.htm

## Analyzing the Code

Once the project is configured you are ready to build the project for analysis. This will cause the source files to be parsed and the Understand for C++ database to be created or updated. Report generation is discussed in the next section, Output Reports.

Upon saving a new project configuration, the Analyze Project dialog automatically appears. You can also begin project analysis by choosing either Project->Analyze Changed Files or Project->Analyze All Files from the menu bar..

Analyze Changed Files - This will analyze all files that have been changed and all files that depend on those that have changed since the last analysis. This is also referred to as "incremental analysis".

Analyze All Files - This will force a full analysis of all project files, whether they have changed since the last analysis or not.

In both cases, the status is reported on the Status Line and the Command Results window appears with a log of the analysis results:

When the analysis is complete, the source of any analysis errors, if any, may be visited by double-clicking on the message in the Command Results window.

The Command Results log messages may be saved to an ASCII file by selecting the Command Results window and then choosing File->Save As. Specify the name of the file you want to save.

Tip: A configured project may be built in batch mode using the command line program "undc". Refer to Analyzing a Project for details on using "undc".

Scientific Toolworks, Inc. http://www.scitools.com Voice: (802) 763-2995 Fax: (802) 763-3066 support@scitools.com sales@scitools.com