[Scons-users] Use raw substitution with Actions
stefan at electricimp.com
Wed Nov 25 07:29:21 EST 2015
I want to build an Action using raw variable substitution, i.e. my action
looks a bit like this:
e['something'] = 'a b c'
e.Command('target', 'source', Action('echo $something > $TARGET'))
This doesn't work because the internal whitespace in $something is removed
(and I need it). I see the documentation for subst allows for a raw mode
(which works), but since I'm not using subst directly, is there any way to
construct the Action I want here?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Scons-users