Specifying Debug and Optimization Compiler Flags

Based on the build configuration selected, SDK assigns a default optimization level and debug flags for compilation. You can change the default value for your project.

To set properties for your project:

  1. Right-click your managed make project
  2. Select Properties. Alternatively, to set properties for a specific source file in your project, right-click a source file within your standard make project and select Properties. to open the properties dialog box.
  3. Expand the list under C/C++ Build.
  4. Click on Settings.
  5. Under Tool Settings tab, expand the gcc compiler list.
  6. Select Optimization to change the optimization level and Debugging to change the debugging level.