2.7.5 Change the build target project

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

Caution

The active project will be the debug target.
Note that the active project cannot be set during connection with the debug tool; be sure to disconnect the debug tool before setting the active project.

 

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

Figure 2.68

[Set selected project as Active Project] Item

 

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

Figure 2.69

Active Project

Remark 1.

Immediately after creating a project, 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 a build is started by a button on the tool bar, the build is run for the entire project.
To run a build only for the active project, start it from the context menu of the active project.