Subject: Re: [Boost-build] "$" character in bjam string
From: Jurko GospodnetiÄ (jurko.gospodnetic_at_[hidden])
Date: 2012-06-18 13:49:31
> Could you please clarify how can I use "$" character inside bjam strings? I
> supposed "\" escaping should work, but it does not.
> For example, "text" variable gets empty value if we assign to it the
> text = "[ wildcard \$(dir)/* ]" ;
> where \$(dir) is NOT a variable name, but escaped "$" character and "(dir)".
It is the $( combination that is confusing bjam. Try something like this:
d = $ ;
text = "[ wildcard $(d)(dir)/* ]" ;
or even this: :-)
$ = $ ;
text = "[ wildcard $($)(dir)/* ]" ;
Hope this helps.
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