Boost logo

Boost-Build :

From: Deane Yang (deane_yang_at_[hidden])
Date: 2006-05-17 15:50:13


Ryan Gallagher wrote:
> Vladimir Prus <ghost <at> cs.msu.su> writes:
>> First of all, why do you have identically named files in subdirectories? For
>> now, I don't understand why this is a such a recurring problem for users --
>> we had several reports already.
>
> Hi Volodya,
>
> Your question had been asked on a separate thread, and I get the
> feeling that it's a hint that this is bad practice, but I have yet to hear
> a decent argument for that. Let me explain my personal reasons, which I
> believe match with some other users.
>
> C++ allows you to separate your code by namespaces. Like Boost code,
> our directory layout often matches that of the namespace. Further
> our filenames often match that of our class names.

<long explanation omitted>

For the record, I agree with Ryan and would like to see bjam support
this. I often implement the same concept in two different settings using
the same class name in two different namespaces. It's awkward when I
cannot compile both simultaneously in a Jamfile.


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