# FeatStd Features

<div class="contents" id="bkmrk-cmake-feature-switch"><div class="contents"><div class="textblock"><dl class="warning"><dd><p class="callout warning">CMake feature switches have been renamed for V3.x releases, see <span style="color: rgb(230, 126, 35);">[Change Log](https://doc316en.candera.eu/books/cgi-studio-300/page/candera-v300-migration-guide)</span></p>

</dd></dl></div></div></div>#### <a class="anchor" id="bkmrk-"></a>Select FeatStd Features

The FeatStd library feature set is specified by the following CMake settings:

<div class="contents" id="bkmrk-name-description-pos"><div class="contents"><div class="textblock"><table border="1" cellpadding="5" cellspacing="0" width="800"><tbody><tr bgcolor="#d4d4d4"><th>Name</th><th>Description</th><th>Possible values</th></tr><tr><td>FEATSTD\_LOG\_ENABLED</td><td>Whether or not CGI-Studio logging system shall be enabled.</td><td>ON/OFF</td></tr><tr><td>FEATSTD\_SYSTEM\_MEMORY\_STATISTIC\_ENABLED</td><td>Whether or not CGI-Studio shall collect memory allocation statistics.</td><td>ON/OFF</td></tr><tr><td>FEATSTD\_SYSTEM\_MEMORY\_STATISTIC\_FILE  
\_AND\_LINE\_TRACKING\_ENABLED</td><td>If FEATSTD\_SYSTEM\_MEMORY\_STATISTIC\_ENABLED is enabled, this option can be enabled to generate file and line number output for memory allocation statistics.</td><td>ON/OFF</td></tr><tr><td>FEATSTD\_FRACTIONAL\_NUMBER\_TYPE</td><td>Configures the build system to replace the 32 bit fractional number representation (designated in e.g. [Candera](http://dev.doc.cgistudio.at/APILINK/namespace_candera.html "[DataBinding_RefTypeSample]") by the symbol Float), with one of 3 options:

- **Float** floating point representation
- **Fixed16p16** fixed point implementation with 16 bit integer part and 16 bit fractional part.
- **Fixed24p12** fixed point implementation with 24 bit integer part and 12 bit fractional part.

The fixed point implementation used is `FixedPointPlatform::FixedPoint` and the mathematical functions are defined in `FixedPointPlatform::Math`.

</td><td>Float  
Fixed16p16  
Fixed24p12</td></tr><tr><td>FEATSTD\_MONITOR\_ENABLED</td><td>Enable CGI Analyzer compliant performance tracing (compile time switch).

<dl class="note"><dt></dt><dd><p class="callout info">Monitor is an optional module only available upon special request. To enable this feature, CGI Analyzer tool chain which is a separate add-on component to CGI Studio, is required.</p>

</dd></dl></td><td>ON/OFF</td></tr><tr><td>FEATSTD\_GLERRORS\_AND\_EGLERRORS\_ENABLED</td><td>Enables calls to glGetError and eglGetError.</td><td>ON/OFF</td></tr></tbody></table>

</div></div></div>