E.4.1 Set the commands

You can link to an external build tool by executing the command set here when performing build-related operations (see "E.5 Run a Build") on CS+.

The command settings are made with the [Build] category on the [Build Options] tab in the Property panel after selecting the Build Tool node of the target debug-dedicated project (main project or subproject) on the project tree.

Figure E.13

Property Panel: [Build Options] Tab (Build Category)

 

Below are how to set the commands.

(1)

Setting the command when running a build

Set the command to be executed when running a build (see "E.5.1 Run a build") in the [Commands executed in the project building] property.

In this property, set the command to execute the required build processing (e.g. "make").

Figure E.14

[Commands executed in the project building] Property

 

If you click the [...] button, the Text Edit dialog box will open.

Figure E.15

Text Edit Dialog Box

 

In [Text], enter the command to be executed with one item per line.

The commands can be specified up to 1023 characters per line, up to 64 lines.

Remark 1.

This property supports placeholders.
If a line is double clicked in [Placeholder], the placeholder will be reflected in [Text].

Remark 2.

When "#!python" is described in the first line, the contents from the second line to the last line are regarded as the script of the Python console, and then executed when running a build.
The placeholders can be described in the script.

 

If you click the [OK] button, the entered commands are displayed as subproperties.

Figure E.16

[Commands executed in the project building] Property (After Setting Commands)

 

(2)

Setting the command when running a clean

Set the command to be executed when running a clean (see "E.5.3 Run a clean") in the [Commands executed in the project cleaning] property.

In this property, set the command to delete intermediate files, generated files, and the like output by the build process.

Figure E.17

[Commands executed in the project cleaning] Property

 

If you click the [...] button, the Text Edit dialog box will open.

Figure E.18

Text Edit Dialog Box

 

In [Text], enter the command to be executed with one item per line.

The commands can be specified up to 1023 characters per line, up to 64 lines.

Remark 1.

This property supports placeholders.
If a line is double clicked in [Placeholder], the placeholder will be reflected in [Text].

Remark 2.

When "#!python" is described in the first line, the contents from the second line to the last line are regarded as the script of the Python console, and then executed when running a clean.
The placeholders can be described in the script.

 

If you click the [OK] button, the entered commands are displayed as subproperties.

Figure E.19

[Commands executed in the project cleaning] Property (After Setting Commands)

 

To change the specified commands, you can use the [...] button or enter the command directly in the text box of the subproperty.

Caution

CS+ does not provide the make command.