Manage Source Code - 2024.2 English - UG1400

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

Document ID
UG1400
Release Date
2025-01-20
Version
2024.2 English
This section explains how to manage the source code.
  1. Click on your application component in the Component view and expand Settings. Open the vitis-comp.json file, and click on UserConfig.cmake to configure the compiler. Alternatively, you can hover your mouse over the application component, a settings button appears—click it to open the vitis-comp.json file. You can also open the UserConfig.cmake from the Settings folder directory.
  2. Under Compiler Settings, select Sources section.
  3. Click Add Item to add source code for your application.
  4. You can also hove your mouse over the name of source file and select to remove it.
    Note: UserConfig.cmake supports GUI format and text format. You can click these icons </> to access the source editor to view the source code and modify the settings in text format.