Boost logo

Boost-Build :

Subject: Re: [Boost-build] discovering libraries with boost at build time
From: Artyom (artyomtnk_at_[hidden])
Date: 2010-07-12 08:49:49


> >
> > 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

Sorry I misunderstood you. As autotools by default also add the library to LIBS
variable.

> "the file exists, and you can link to it"

I thins this is the correct one. The test for likability-against-compiler is the
correct way to do things.

Thank You,
  Artyom

      


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