Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-01-17 05:01:33


On Tuesday 17 January 2006 03:47, David Abrahams wrote:

> > This is a recurring question, so I've added it to docs:
> > http://boost.org/boost-build2/doc/html/bbv2/faq/header-only-libraries.htm
> >l
> >
> > can you take a look and tell if what I wrote is clear enough or needs
> > further clarification?
>
> Why don't we just implement my suggestion from
> http://article.gmane.org/gmane.comp.lib.boost.build/11166 so we can
> stop clarifying this point?

Currently

    lib a ;

is interpreted as searched library named "a", that is you'll get -liba in
command line on linux, and a.lib on Windows. So your proposal conflicts with
the current semantics (proposed by you, as well). Using presense or absense
of usage-requirements in "lib" to determine if that's header-only library or
not does not seem reliable to me.

- Volodya


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