
Rev. 2.0, 03/06/02, 29
2.7
File Dependencies
A typical project will contain dependencies between files, for example, one C file may “#include” one or more
header files. In complex projects, source files will include (or depend upon) others and this can quickly become
difficult to manage. However, the HEW provides a dependency scanning mechanism whereby all files in a
project are checked for dependencies. Once complete, the project window will display an up-to-date list with all
the project file dependencies.
To update a project’s dependencies:
Select [Build->Update All Dependencies] or click the right mouse button on a project icon in the “Projects”
tab of the “Workspace” window and select [Update All Dependencies] from the pop-up menu.
Initially, the dependencies for all files are contained within the “Dependencies” folder (figure 2.20.i).
2.8
Configuring the Workspace Window
If you click the right mouse button anywhere inside the “Projects” tab of the “Workspace” window, a pop-up
menu will be invoked. Select the “Configure View…” menu option to modify the way in which information is
displayed. The following four sections detail the effect of each option on the “Configure View” dialog.
2.8.1
Show Dependencies under Each File
If you select “Show dependencies under each file”, the dependent files are shown under the including source file
as a flat structure, i.e. the files themselves become folders (figure 2.20.ii). If this option is not selected then a
separate folder contains all dependencies (figure 2.20.i).
Figure 2.20: Dependencies under Each File