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.