E.4.3 Set the target project for a build

When running a build that targets a specific debug-dedicated project (main project or subproject), you must set that project as the "active project".

Caution

The active project is the project subjected to debugging.
It is not possible to set the active project while connected to the debug tool, and therefore you must disconnect the debug tool for active project setting.

 

To set the active project, select the Project node to be set as the active project on the project tree and select [Set selected subproject as Active Project] from the context menu.

Figure E.25

[Set selected project as Active Project] Item

 

When a project is set as the active project, that Project node is underlined as follows.

Figure E.26

Active Project

 

Remark 1.

Immediately after creating a project newly, the main project is the active project.

Remark 2.

When you remove a subproject that set as the active project from a project, the main project will be the active project.

Caution

When you run a build using the toolbar button, the build applies to the whole project.
To build only the active project, run the build from the context menu of the active project.