After successfully added a second project to the workspace as static st32 library, I would like to know ho consume this library from the main project. From Path and Symbols I added the library ${workspace_loc:/ModuleA/Debug/libModuleA.a}.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-04-29 10:26 PM
What else should I do to let my project see header files? Is it correct to add an include path such
C:\Progetti\STM_Projects\ModuleA\Base. But I would like that it sees all the files and possible without an absolute path? What is the correct syntax?
Best Regards
Labels:
- Labels:
-
STM32CubeIDE
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-04-30 2:01 PM
Proper way to add an archve (.a file) is the following according to me (please note ':' char is added prior library file)
Then if you want to prevent some compiler warning rely on include path to point to related .h repository
