Boost logo

Boost-Build :

Subject: Re: [Boost-build] discovering libraries with boost at build time
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-07-12 08:39:05


On Monday 12 July 2010 15:05:27 Artyom wrote:

> > >
> > > 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
>
> I mean, that I would prefer checking that library exists be the separate process
> from
> specifying what targets should be linked with this specific library.

So, we get back to the question -- should the check be "the file exists",
as is the case with CMake, or "the file exists, and you can link to it",
as with autotools.

> And not link it **by default** to all targets as it done with autotools.

This is an entirely different question.

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