Relative Path Support - 2024.2 English - UG1400

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

Document ID
UG1400
Release Date
2025-01-20
Version
2024.2 English

A relative path is automatically selected if the imported sources or files share the same initial node in the path as the workspace. The following is an example:

  • File Path: /local/drive/source/app.cpp
  • Workspace Path: /local/drive/workspace
The relative path, based on the component location, is automatically selected and used during development:
$COMPONENT_LOCATION/../../sources/app.cpp
Note: When moving the workspace or committing workspace to source control tools, users should keep the relative path relationship.