How to install a library for global use?

Only from the CLI or setting a lib_extra_dirs in every project to a folder which contains the collected library folders.

Global libraries are not recommended, due to reproducability issues (unless you specify somewhere else where to get the needed library and at which exact version, other people will have problems compiling – specifying them by a unique name and version in lib_deps eliminates these problems).

1 Like