C++ Analysis Unit editor - Source Settings tab


This section provides a detailed description of the specific Source Settings tab in the C++ Analysis Unit editor.

Source Settings tab
Project path The file based location of the corresponding project. This field is read-only.

Notes

  • When the field contains User defined, this indicates that the Analysis Unit has been defined manually instead of automatically following the use of the CAST Delivery Manager Tool.
Consider Files as Please see the C++ Technology options for more information about these options.
Use Microsoft Managed C++ extensions (CLR)
C File Extensions
C++ File Extensions
Sources Use this section to include or exclude specific source files for the Analysis Unit for analysis purposes - these are mainly to be used when you are manually creating your Analysis Unit but can also be used if you are modifying an automatically created Analysis Unit.
  • Use the buttons to include or exclude specific Source Files (in the case files, only files matching the choices made in C/C++ File Extensions above will be considered) or Source Folders (folders are searched recursively).

    By default CAST will automatically suggest the Deployment Folder set in the Current Version tab (Application editor) for your Package when adding new source code folders or files.
  • Use the button to remove an existing entry
  • Use the button to edit an existing entry
  • If this Analysis Unit is automatically defined use the button to reset the list to the entries defined by the CAST Delivery Manager Tool

If this Analysis Unit is automatically defined, then any auto defined entries will be read only.

Force language (if exception)

This option allows you to force a language type (C or C++) for the selected file. This allows you to analyze a specific file in a specific language - i.e. if one particular .c file in a folder of thousands of other .c files needs to be analyzed as C++.

To force the language, select a file in the table and use the following buttons:

  • > This will force the selected file to be analyzed as C
  • > This will force the selected file to be analyzed as C++
  • > This will revert to the default behaviour i.e. analyzed according the extension of the file (No will be displayed in the able).

CAST Website