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@gmail.com>
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