Boost logo

Boost-Build :

From: Dave Abrahams (dave_at_[hidden])
Date: 2003-02-05 09:57:27


On Wednesday, February 05, 2003 3:13 AM [GMT+1=CET],
Vladimir Prus <ghost_at_[hidden]> wrote:

> I see a couple of ways:
> 1. Just provide a rule which changes default value. That's simple, but
what
> if default is changed by two project-root.jam files to different values?
> 2. Add 'default-properties' project attribute. It your case, it will
include
> <threading>multi
> 3. Change default-build semantic (I did propose that already!). It will
be:

(3 is more than a couple ;->)

> before bulding, we look at build request from command line, and
> default-build attribute of the *current* project. If a value of feature is
> given on the command line, we take that. If it's given in "default-build",
> we take that. Lastly, if it's not given, we take the default.
>
> How the above options look?

If I understand the proposal correctly, I don't like this. In v1,
default-build didn't work this way. It should be possible to build targets
of a single project that require threading-multi and threading-single using
the same build command.

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
 

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