By creating a project, you can browse across files.
|
1.
| Create a project
|
Click File → New Project
Location: The folder where you wish to create the project file
Project Name: Name of the project file you wish to create. The project file will have the extension .sur or .pur
|
2.
| If source files or header files have extensions other than *.c, *.cpp, *.h
|
|
3.
| Add source files and header files to the project
|
Click < Add Files > in Project Management Menu.
Select the radio button "All Source Files" and Click
Or Select files from the displayed list and click
|
4.
| Set the Include-Path-Sequence
|
Click < Include Path > in the Project Management Menu.
It is not enough to simply add the header files to the project...
- Select the "nclude subfolders" box if header files are #included from the sub-folders too.
|
5.
| Parse All Files
| Click < Parse All > in the Project Management Menu.
|
6.
| After parsing, check for Missing header files.
|
Click < Missing Includes > in the Project Management Menu
If header files are missing, some type names may remain undefined and result in syntax errors.
Syntax errors are displayed in pink color.
If a syntax error involves a function-header (start of a function), then the function is not recognized and hence its flowchart is not available.
|
7.
| If any header files are missing:
| Add the necessary folders to the Include-Path-Sequence so that Crystal Flow can find the header files
|
8.
| After adding folders to the Include-Path-Sequence:
| Reparse All Files by clicking < Reparse All > in the Project Management Menu.
|