Boost logo

Boost-Build :

From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-07-15 09:00:22


From: "Vladimir Prus" <ghost_at_[hidden]>

> > Oh, wait: they're orthogonal! Imagine property <foo>bar is in the build
of
> > target baz:
> >
> > no-subvariant:0 1
> > \
> > main-target-dir \------------------------------------------
> > 0 | .../bin/foo-bar/ .../bin/
> >
> > 1 | .../bin/baz/foo-bar/ .../bin/baz/
> >
> > I see no problem here.
>
> Well, since "main-target-dir" means "create a dir corresponding to main
> target when properties of target differ project requirements",
> main-target-dir and subvariant dir are just two methods to make sure we
don't
> fix targets with different properties together. Therefore, I don't
understand
> the meaning io "no-subvariant = 0, main-target-dir = 1". Why put name
target
> name in target path when we already have subvariant dir there?

I can't anticipate the usefulness or lack thereof of every possible
combination. Maybe we know something about the feature which indicates that
main targets can't share intermediate targets... I don't know. Anyway, I
like the arrangement because it means the implementation continues to be
simple. We can still outlaw combinations you don't like later.

-Dave

 


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