Boost logo

Boost-Build :

Subject: Re: [Boost-build] Scope for bjam use outside of C/C++?
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-03-23 03:07:56

On Monday 22 March 2010 15:17:55 Mitchell Bradd wrote:

> Hey all,
> I have been a follower of the mailing list for a short while and noticed the
> nicely written tutorial that explained the workings of boost-build to the
> uninitiated. It mentioned use for C/C++ only; is it the case that bjam is
> reasonably restricted to this language? I have had a crack at making a
> toolset for the D Compiler with some success; I can't give it the big thumbs
> up because 1. I don't have a large project and 2. I can't seem to get the
> tests to work that exist for new toolset validation (probably because it's
> not C/C++?).
> Interested to hear thoughts on this, boost itself is admittedly a C/C++
> library/framework but I was wondering if this means that introducing new
> toolset support outside of the C/C++ Compiler scope is therefore not on the
> cards.

Hi Mitch,

while most uses of Boost.Build are for C and C++, there's nothing fundamentally
preventing its use for other "more or less compiled" languages. What I mean is
that for example Java is tricky language in that compiling a single .java
file creates a random set of .class files and it's not easy to know what
set that is without being a compiler. Languages that are not that tricky
should post no problem -- and D, in particular, should pose no problem.

Hope this helps,

Vladimir Prus

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