|
Boost-Build : |
Subject: Re: [Boost-build] Compile boost libs each one with different version number
From: Christina Larocca (christina.larocca_at_[hidden])
Date: 2010-05-25 10:31:30
Hello, sorry for the double else, it was only a copy error.
I've tried with:
if $(name) = boost_math_c99
if <name>boost_math_c99
if $(base) = boost_math_c99
if <name>boost_math_c99
but nothing works. The if blocks are skipped.
Any other idea?
Thanks! Regards
Christina.
2010/5/25 Steven Watanabe <watanabesj_at_[hidden]>
> 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
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost-build
>
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