Relative Path Support - 2025.2 English - UG1702

Vitis Reference Guide (UG1702)

Document ID
UG1702
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.