|
Boost-Build : |
Subject: Re: [Boost-build] discovering libraries with boost at build time
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-07-12 06:05:33
On Monday 12 July 2010 13:55:36 Artyom wrote:
>
> > > Of course it would be easier if this was all wrapped in in some kind of
> > > autoconf emulation layer....
> >
> > Of course, I can add some higher-level wrapper. However, an important
> question
> > is whether we want to try linking against the found library, or not.
> > autoconf, I believe, generally tries to link. CMake, on the other hand,
> > basically searches for a file in some locations and that it -- it does not
> > try linking. Which behaviour seems more useful?
> >
> > Thanks,
> >
> > --
> > Vladimir Prus
>
> I think CMake's one. So I can like the library to any executable/library I need.
Could you clarify? Trying to link with the library does not prevent you from
linking it to any executable your want -- it just double-checks that the library
is indeed linkable-to.
Thanks,
-- Vladimir Prus http://vladimir_prus.blogspot.com Boost.Build: http://boost.org/boost-build2
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk