Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-01-30 11:23:35


David Abrahams wrote:
> Vladimir Prus <ghost_at_[hidden]> writes:
>
>
>>As to the "right" solution. Historically, Boost.Build is used to construct a
>>collection of libraries, each of them is placed in a separate directory, with
>>unqiue names of source files. Generally, I think it's a good idea to keep one
>>Jamfile <-> one sourcedir relationship, which mean creating a library for each
>>directory.
>
>
> Is that strictly true? Can't you depend upon OBJ files from other
> (sub)projects the same way you depend on static and shared libs?

You can. But that means you've have to declare obj main targets in that other
project. Something like

obj a : a.cpp ;
obj b : b.cpp ;

I'm not really sure this UI is ok for users.

- 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