Relative Path Support - Relative Path Support - 2026.1 English - UG1400

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

Document ID
UG1400
Release Date
2026-07-31
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.