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 10:50:40


AMDG

Christina Larocca wrote:
> Hello, sorry for the double else, it was only a copy error.
>
> I've tried with:
>
> if $(name) = boost_math_c99
>

This ought to work.

> if <name>boost_math_c99
>

This test should always be true. It is
parsed as

if "<name>boost_math_c99"

and tests whether "<name>boost_math_c99" is
non-empty.

> if $(base) = boost_math_c99
>

base is not a variable that's in scope.

> if <name>boost_math_c99
>

This test should always succeed.

> but nothing works. The if blocks are skipped.
>

Try adding

ECHO name: $(name) type: $(type) layout: $(layout) ;

at the top of the tag rule.

Also, can you post the whole function? The
layout=system block doesn't appear to get
executed at all.

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