|
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
>news:72199eb50710242152s40be8f2fnbbbeb2bdc388ca20_at_mail.gmail.com...
>Hello.
>
>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
like:
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.
or:
Pass the constants as arguments to the rules defined within your .jam files.
/ Johan
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