Relative Path Support - Relative Path Support - 2026.1 English - UG1702

Vitis Reference Guide (UG1702)

Document ID
UG1702
Release Date
2026-06-23
Version
2026.1 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.