Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2003-01-30 11:43:42


Vladimir Prus <ghost_at_[hidden]> writes:

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

Maybe we can come up with some nice UI which is automatically
translated into this in effect?

-- 
David Abrahams
dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution
 

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