Subject: [Boost-build] [boost-build] pass build variant to SHELL rule in Jamroot?
From: Steve Lorimer (steve.lorimer_at_[hidden])
Date: 2015-06-24 16:29:06
Is it possible to obtain the build variant in the Jamroot and pass it to a
script invoked with the SHELL rule?
If so, how can I pass it to the SHELL rule?
local result = [ SHELL "script.sh" : "$(variant)" ] ;
The above doesn't seem to work (the second argument to the rule doesn't
seem to be passed to the script, regardless of what I put there)
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