Handling separate debug/release libraries

thomas.moulard at gmail.com thomas.moulard at gmail.com
Wed Jun 24 21:40:52 PDT 2009

I am wondering how pkg-config can handle projects which are installing several (binary compatible)
versions of the same library (i.e. release and debug).
An example would be Boost which install several versions depending on whether the program is
multi-threaded or not, in debug mode or not, etc.

One idea would be to do:

# Default profile (relase)
Libs: -lmylib
Cflags: -I/path/to/header

# Other profiles...
debug.Libs: -lmylib-debug
debug-mt.Libs: -lmylib-debug-mt

But then I did not find a way to retrieve non-standard information using pkg-config.

Am I missing something? Do you have any suggestion about how to handle that?

PS: Is there a web browser for the Bazaar repository, I can not see
anything on http://pkg-config.freedesktop.org/bzr/.

Thomas Moulard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 271 bytes
Desc: OpenPGP digital signature
Url : http://lists.freedesktop.org/archives/pkg-config/attachments/20090625/fc39f006/attachment.pgp 

More information about the pkg-config mailing list