Rev. 2.0, 03/06/02, 33
To insert an existing project into a workspace:
1. Select [Project->Insert Project…]. The “Insert Project” dialog will be displayed.
2. Set the “Existing Project” option.
3. Enter the full path of the project database file (.HWP file) into the edit field or click “Browse…” to
search for it graphically.
4. Click “OK” to insert the existing project into the workspace.
Note:
When an existing project is being inserted into a workspace, the CPU family and tool chain upon which
that project is based must match those of the current workspace. If they do not then the project cannot be
inserted into the workspace.
2.11
Specifying Dependencies between Projects
The projects within a workspace can be dependent upon one another so that when one project is built, all its
dependent projects are built first. This is useful if another project uses one of the others in the workspace. For
example, imagine that a workspace contains two projects. The first project is a library that is included by an
application project. In this case the library must have been built and up to date before the second application can
build correctly. To achieve this situation we can specify the library as a dependent (i.e. child) project of the
application project. This would then allow the library to be built first if it is out-of-date.
When a dependent project is built the HEW attempts to match the configuration in the dependent project with
that of the current project. This means that if the current configuration is “Debug” then the HEW will attempt to
build the “Debug” configuration in the dependent project. If this matched configuration does not exist then the
HEW will use the configuration that was last used in the dependent project.
To make projects depend upon another:
1. Select [Project->Dependent Projects]. The “Dependent Projects” dialog will be displayed.(figure 2.24)
2. Select the project to which you would like to add dependents to. When you do this, the “Dependent
projects” list will display all of the projects in the workspace (excluding the selected project).
3. The “Dependent projects” list has a check box for each project listed. Set the associated check boxes to
make those projects depend upon the selected project.
4.
Click “OK” to confirm the new project dependencies.
Figure 2.24Dependent Projects dialog