Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2002-10-15 07:31:44

Vladimir Prus <ghost_at_[hidden]> writes:

> Should <toolset> feature be symmetric. IOW, if "gcc" is default toolset
> for me, should targets be built to
> bin/debug
> or to
> bin/gcc/debug
> ?
> I think first alternative is preferred --- the shorter paths in the most
> common case, the better. Other opinions?

I think I agree. I worry about people rebuilding into the same
directory by changing their default toolset, but that can be fixed by
implementing Ullrich Koethe's idea of leaving behind one or more .jam
files in the target directory which describe the build. If the toolset
doesn't match up, we'll just force it to rebuild.

> (BTW, it appears that 'symmetric features' are not yet supported,
> although it should be extra easy to implementent)

Thinking a little more, it seems to me that symmetric-ness might be
determined based on target in some cases. For example, if a library
requires shared=true, should we generate a shared/ subvariant

David Abrahams * Boost Consulting
dave_at_[hidden] *

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