Boost logo

Boost-Build :

Subject: Re: [Boost-build] [boost-build] how to use boost.use-project?
From: Vladimir Prus (ghost_at_[hidden])
Date: 2009-07-14 05:10:58


On Tuesday 14 July 2009 Andrey Torba wrote:

> Can i do such way?
> ===================================================================
> import boost ;
>
> boost.use-project ;
>
> project : build-dir
> bin
> : requirements
> <library>/boost//headers
> ;
>
> exe main1 : main1.cpp ;
> exe main2 : main2.cpp ;

Yes, though it's clearer to use <use>, not <library>,
since there's physical library to link to.

- 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