The Vitis software platform assigns a default optimization level and debug flags for the application component. You can change the default value for your application component.
To set properties for your project:
- Click your application component in component view and expand Settings. Open the UserConfig.cmake file under settings directory.
- Under Compiler Settings, select Optimization.
- In the Optimization section, select
the optimization level by clicking the drop-down button.
Debugging section is under the
Optimization section.
Similarly, click the drop-down button to change the debug
level. You can input other optimization flags or debug flags
in the other flags field.
Note: UserConfig.cmake supports GUI format and text format. You can click the </> icons to access the source editor to view the source code and modify the settings in text format.