2.3.1 Perform optimization with the code size precedence

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

To perform optimization with the code size precedence, select [Optimize for Size (-Osize)] in the [Optimization Strategy] property in the [Optimization] category.

Figure 2.7

[Level of optimization] Property (Code Size Precedence)

Remark

You can also set the option in the same way with the [Optimization Level] property in the [Frequently Used Options(for Compile)] category on the [Common Options] tab.