Based on the build configuration selected, the Vitis software platform 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:
- Right-click your managed make project.
- 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 page.
- Expand the list under C/C++ Build.
- Click on Settings.
- Under the Tool Settings view, expand the gcc compiler list.
- Select Optimization to
change the optimization level and Debugging to change the debugging
level.