User manual
Project creation and build UM0036
158/385 Doc ID 7705 Rev 11
4.11 Specifying dependencies between projects
Because a project may use an element or object generated during the build of another
project, STVD provides a Dependencies window that allows you to identify projects that are
the source of dependencies for other projects. To define dependencies between two
projects, both must be included in the workspace.
To define project dependencies:
1. Select Project > Dependencies.
The Project Dependencies window opens.
2. Click in the Select project to modify field, to view the drop-down list of all other
projects in the workspace.
3. Select the project that you want to make dependent from the drop-down list.
The view in the Dependent on the following project(s) field will change to show all of
the other projects in the workspace that it can depend on.
4. Check the box next to any projects that it depends on. Then click on OK to confirm the
setting.
STVD will not allow you to make projects mutually dependent. For example, if Project1 is
dependent on Project2, you cannot make Project2 dependent on Project1. To avoid this,
Project1 does not appear in the Dependent on the following project(s) field for Project2,
as it is already dependent on Project2.
You can also define dependencies for specific files. This requires using the Custom Build
option in the file-level Settings window. For more information, refer to Section 4.10:
Configuring folder and file settings on page 156.
4.12 Build commands
From the Build menu you can choose from commands that allow you to build your entire
application, build parts of your application or just compile its source files.
You can only access the build commands after you have set up a project, and when you are
in the Build context. In the Debug context (Debug > Start Debugging), these commands
are not available. Therefore, if you make changes to your application source files or project
settings during a debugging session, you must end your debugging session (Debug > Stop
Debugging) to access the build commands and rebuild your application.
When you are ready to build your project, ensure that the project is set to active. To do this,
select Project > Set Active Project and then click on the project that you want to make
active. The checkmark is placed next to the project you select and the project name in the
Workspace window changes to bold type.
To build a project or compile selected files, go to the Build menu. Here you have access to
the commands listed in Tabl e 5 7.