Boost logo

Boost-Build :

Subject: Re: [Boost-build] How to use function invocation result in string without white space?
From: Jurko Gospodnetić (jurko.gospodnetic_at_[hidden])
Date: 2012-07-19 05:18:48


   Hi.

> I want for example to declare variable
> var = [ some-rule some_param1 : some_param2 ]"bla" ;
> the same way I declare it using variable addressing:
> other_var = "some text" ;
> var = $(other_var)"bla" ;

   Nah, can't be done without changing how Boost Jam language parses its
input files. :-(

   We just use the temporary variable technique, possibly with an added
:E="" modifier in case you want to interpret an empty list as an empty
string.

   Best regards,
     Jurko Gospodnetić


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