-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Pkgconfig module
TingPing edited this page Oct 7, 2016
·
9 revisions
This module is a simple generator for pkg-config files. It has one method.
The generated file's properties are specified with the following keyword arguments.
-
librariesa list of built libraries (usually results of shared_library) that the user needs to link against -
versiona string describing the version of this library -
namethe name of this library -
descriptiona string describing the library -
filebase, the base name to use for the pkg-config file, as an example the value oflibfoowould produce a pkg-config file calledlibfoo.pc -
subdirswhich subdirs ofincludeshould be added to the header search path, for example if you install headers into${PREFIX}/include/foobar-1, the correct value for this argument would befoobar-1 -
requireslist of strings to put in theRequiresfield -
requires_privatelist of strings to put in theRequires.privatefield -
libraries_privatelist of strings to put in theLibraries.privatefield -
install_dirthe directory to install to, defaults to the value of optionlibdirfollowed by/pkgconfig
All documentation is now on the main web site.
This page should be at this address.