Relative Path Support - 2025.2 English - UG1400

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

Document ID
UG1400
Release Date
2025-11-20
Version
2025.2 English

If the imported files share the same initial node in the path as the workspace, the Vitis tool automatically selects the relative path. The following is an example:

  • File Path: /local/drive/source/app.cpp
  • Workspace Path: /local/drive/workspace
The system selects this relative path:
$COMPONENT_LOCATION/../../sources/app.cpp
Note: When moving the workspace or committing it to source control, remember to keep the relative path relationship.