Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-02-05 10:36:29

Dave Abrahams wrote:
> 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 ;->)

Oh, just don't like backtracking ;-)

>>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.

I'm keeping half of the truth to myself, as usual :-( I did not mean that
default build cannot include both <threading>single and <threading>multi.
I just want <threading>multi in build request if it's in default build
and the user did no specify threading=single on the command line.

- Volodya



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