Boost logo

Boost-Build :

Subject: Re: [Boost-build] Compile boost libs each one with different version number
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2010-05-25 09:49:36


AMDG

Christina Larocca wrote:
> I'm trying to compile boost libs with different versions between each other.
> For example, I could have a regex 1.39.0.1, a serialization 1.39.0.2, a
> signals 1.39.1.0, etc...
>
> So far, I've been trying to modify Jamroot to achieve this, but I can't pass
> from one point:
>
>
> In the layout=system block, I've added the following to try to change the
> math_c99 version:
>
> if $(layout) = versioned
> {
> ...
> }
> else
> {
> if <base>boost_math_c99
>

Try using if $(name) = boost_math_c99

> {
> local result = [ common.format-name
> <base> -$(BUILD_ID)
> <base> -$(BUILD_ID)
> <base> -$(BUILD_ID)
> : $(name) : $(type) : $(property-set) ] ;
> }
> else
> {
> local result = [ common.format-name
> <base> -$(BUILD_ID)
> <base> -$(BUILD_ID))
> : $(name) : $(type) : $(property-set) ] ;
> }
> else
> {
> local result = [ common.format-name
> <base> -$(BUILD_ID)
> <base> -$(BUILD_ID))
> : $(name) : $(type) : $(property-set) ] ;
> }

I don't think you need two elses. One is enough.

In Christ,
Steven Watanabe


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