Boost logo

Boost-Build :

From: Johan Nilsson (r.johan.nilsson_at_[hidden])
Date: 2007-10-25 02:21:18

(please drop the html)

>"김영현" <yhyun.kim_at_[hidden]> wrote in message
>I declared some path-constants in Jamroot.
>After done that, I used them in Jamfiles. It worked fine as you knew.
>But I got a problem when I used them in *.jam files.
>Does anybody know how to use path-constants in *.jam files?

I'm not really sure what you're after, but perhaps you could try something

Use "modules.poke", to make them available in the "global" namespace (and
perhaps modules.peek to retrieve them). You could also take a look at the
IMPORT built-in.


Pass the constants as arguments to the rules defined within your .jam files.

/ Johan

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