Everything
2.4.2 Set a macro definition

Select the build tool node on the project tree and select the [Assemble Options] tab on the Property panel.

The macro definition setting is made with the [Define Preprocessor Symbol] property in the [Preprocess] category.

Figure 2.17

[Define Preprocessor Symbol] Property

 

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

Figure 2.18

Text Edit Dialog Box

 

Enter the macro definition in [Text] in the format of "macro name=defined value", with one macro name per line.

You can specify up to 256 characters per line, up to 256 lines.

The "=defined value" part can be omitted, and in this case, "1" is used as the defined value.

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

Figure 2.19

[Define Preprocessor Symbol] Property (After Setting Macros)

 

To change the macro definitions, you can use the [...] button or enter the path directly in the text box of the subproperty.

Remark

You can also set the option in the same way with the [Define Preprocessor Symbol] property in the [Frequently Used Options(for Assemble)] category on the [Common Options] tab.