Specifying Debug and Optimization Compiler Flags - 2021.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2021-12-15
Version
2021.2 English

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:

  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 page.
  3. Expand the list under C/C++ Build.
  4. Click on Settings.
  5. Under the Tool Settings view, expand the gcc compiler list.
  6. Select Optimization to change the optimization level and Debugging to change the debugging level.