- My goal is: Create a shared library among apps
- My actions are: In the root at the same level as mos.exe, a folder for the library
mylib
created with *.c and *.h inside. In my app’s mos.yml, a reference added to the new library:
libs:
- name: mylib
I also add new sources with
sources:
- src
- ./mylib
- The result I see is: An error with
no such file or directory
. The screen capture is shown below.
- My expectation & question is: The user guide states that we should create a new library in the app under /deps but it will lose sharing ability that only the particular app can use the new library. Now I need to create a library that can be shared among apps. How to do it?