Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-01-16 03:38:35


On Saturday 14 January 2006 04:46, eoin-keyword-boost.jam.dca6c0_at_[hidden] wrote:

> <library>/TinyXMLSTL//TinyXMLSTL/<link>static
>
> The problem is I don’t know what I’m supposed to do for header only
> libraries as there is no lib target. I’ve tried many different things but
> the usage-requirements for header only libraries never get included.

This is a recurring question, so I've added it to docs:
http://boost.org/boost-build2/doc/html/bbv2/faq/header-only-libraries.html

can you take a look and tell if what I wrote is clear enough or needs further
clarification?

> Interestingly this page
> (http://boost.sourceforge.net/boost-build2/doc/html/bbv2/advanced/jamfiles.
>html) towards the middle gives this example;
>
> lib helpers : helpers.hpp ; # a header-only library
> alias helpers : helpers.lib : <toolset>msvc ; # except on msvc

Strangely, I don't see where that file is linked from. I'll take a close look.

- 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