Everything
2.7.6 Add a build mode

When you wish to change the build options and macro definitions according to the purpose of the build, you can collectively change those settings.

Build options and macro definition settings are organized into what is called "build mode", and by changing the build mode, you eliminate the necessity of changing the build options and macro definition settings every time.

The build mode prepared by default is only "DefaultBuild". Add a build mode according to the purpose of the build.

The method to add a build mode is shown below.

(1)

Create a new build mode

Creating a new build mode is performed with duplicating an existing build mode.

Select [Build Mode Settings...] from the [Build] menu. The Build Mode Settings dialog box will open.

Figure 2.72

Build Mode Settings Dialog Box

 

Select the build mode to be duplicated from the build mode list and click the [Duplicate...] button. The Character String Input dialog box will open.

Figure 2.73

Character String Input Dialog Box

 

In the dialog box, enter the name of the build mode to be created and then click the [OK] button. The build mode with that name will be duplicated.

The created build mode is added to the build modes of the main project and all the subprojects which belong to the project.

Figure 2.74

Build Mode Settings Dialog Box (After Adding Build Mode)

 

(2)

Change the build mode

Change the build mode to the newly created build mode (see "2.7.7 Change the build mode").

(3)

Change the setting of the build mode

Select the build tool node on the project tree and change the build options and macro definition settings on the Property panel.

Remark

Creating a build mode is regarded a project change.
When closing the project, you will be asked to confirm whether or not to save the build mode.