Optimization and Debug Levels

Q

What optimization and debug levels are available and configurable?

A

netX Studio offers two default build conditions.

Those are called "debug" and "release" and are part of the hand over parameters between netX Studio and waf.

Via Project > Preferences > C/C++ Build, choosing "[ All configurations ]" in the drop down box and switching to the Behaviour tab, the parameters appear. "${build_type}" specifies one of the conditions from above.

Waf is capable of handling the conditions "debug", "debugrel" and "release". So by editing the build instruction to "--conditions=debugrel" it is possible to get a release build with debug informations.