Groups libraries in a module.
Sébastien Granjoux
seb.sfo@free.fr
Philip Chimento
philip.chimento@gmail.com

# Adăugarea unui modul

Packages cannot be added directly to a program but have to be grouped in a module.

Select a program 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....

On the Add Library dialog, click on the New Library button.

You will get a list of all the packaged libraries installed on your system. You can check one or more libraries.

If the library you want does not appear here:

Perhaps it is not installed on your system. Launch the application you use to install new programs and search for the library name. The package you need often has a "dev" or "devel" suffix and should include header files and a pkg-config file with a .pc extension.

It could be that the library is not packaged, it is often the case for libraries not developed on Linux. See the chapter explaining how to use them.

After selecting one library, a module name will be automatically generated but you can change it. You can select an already existing module name to add a new library to it and to all targets already using it.

When you are done, click on the Add button to create the new module with the selected libraries. You need to add a new module to at least one target to really use it.