Add a set of libraries to a target.
Sébastien Granjoux
seb.sfo@free.fr
Philip Chimento
philip.chimento@gmail.com
Daniel Nylander
po@danielnylander.se 2007
Anders Jonsson
anders.jonsson@norsjovallen.se 2017

# Add packaged libraries

On Linux, most libraries are distributed with additional data stored in a pkg-config file. This file contains information like the other libraries needed, the C compiler and the linker flags needed to use that library. This file, the header files and the library files themselves is called a package.

Select the program where you want to add the new library in the project view, click on the right mouse button to make the project context menu appear and select Add Library.

Or from the main menu, select Project Add Library....

You need to select the target where you want to add the library in the target button above.

A library cannot be added directly to a target. You can add only a module displayed in the module view below. If you select a library inside a module, the parent module will be added.

If the library you want is not displayed in the module view, you need to add it as a module first. Click on the button New Library and follow the explanation here.

After creating a new module, you have to wait a few seconds while the project files are reloaded to see the new module in the list.

When you are done, click on the Add button to add the selected module to the target.