Adding Libraries and Library Paths - 2023.2 English

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

Document ID
UG1400
Release Date
2023-12-13
Version
2023.2 English

You can add libraries and library paths for Application projects. If you have a custom library to link against, you should specify the library path and the library name to the linker.

To set properties for your Application project:

  1. Click your application component in Component view and expand Settings. Under settings directory open the UserConfig.cmake file.
  2. Under Compiler Settings, select Libraries
  3. In Libraries section, click Add Item to add the library name or the library path.
Note: UserConfig.cmake supports GUI format and text format. You can click the </> icons to access the source editor to view the source code and modify the settings in text format.