|
Boost : |
From: Andreas Pokorny (andreas.pokorny_at_[hidden])
Date: 2005-01-01 15:46:22
On Sun, Dec 26, 2004 at 09:27:04PM -0600, "Marcelo E. Magallon" <mmagallo_at_[hidden]> wrote:
> On Thu, Dec 16, 2004 at 10:19:36AM +0000, Jonathan Wakely wrote:
>
> > I though that emits the flags that /should/be/ used to compile
> > against Boost, not the flags the /were/ used to compile Boost itself.
>
> You can store arbitrary variables in .pc files and retrieve them using
> pkg-config --variable=name. The only trick here is to define the name
> of the package or packages and make that consistent across all systems.
Thats not enough, the return values of pkg-config must be dependant on
the toolset setting, and a few flags like debug, multithreaded..
> It's no use to have boost-redhat.pc and boost-darwin.pc because that's
> precisely the point of pkg-config. boost.pc and boost-signals.pc and
> boost-regex.pc are all fine.
Sure boost has to provide these files. The current situation is
unbearable.
Regards Andreas Pokorny
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk