Boost logo

Boost-Build :

From: Andrey Melnikov (melnikov_at_[hidden])
Date: 2005-08-08 08:35:35

Craig Rodrigues wrote:
> In your real environment, do you really have multiple source files
> with the same name living in different directories? If you do,
> then things get more complicated. However, if you have something like:
> +-root
> --+-util
> ----|
> ----+-sub1
> ------|
> Then you can do:
> (1) In root, put an empty Jamroot file (or can have other stuff you want)
> (2) In the util directory, put a Jamfile which has:
> project myproject : source-location . sub1 ;
> lib util : ;
> (3) Then go to the util directory, and type bjam

Take a closer look to the subject :)

In the beginning of the thread Timgift wrote:

> I'm currently using Perforce jam and find it very convenient to have
> the complete project in a single Jamfile, which is only 300 or so
> lines long. I do a fair amount of refactoring, moving files around,
> etc., and having a single Jamfile makes life a lot easier. The
> alternative is 20+ Jamfiles, which seems a little overkill.

So your answer wasn't useful because it requires to have a lot of Jamfiles.



Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at