[jamming] Executing shell command, save results to variable

Diane Holt holt.diane at gmail.com
Wed Feb 28 08:41:32 PST 2007


I've done both. I pass back-ticked pkg-config commands on my compile and
link lines -- ie., I add them to the flags for each (from a new rule,
though, not an override on Cc/C++/Link -- although I do have overrides for
those rules, but for other reasons). And I also modified Jam to be able to
run a shell command from a rule (it bugged me that there was something Make
could do that Jam couldn't :)

In your case, Chris, if all you need is to pass that wx-config in on the
command line, adding it to the flags is the easiest way to go.

Diane
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://maillist.perforce.com/pipermail/jamming/attachments/20070228/f036c55c/attachment.html


More information about the jamming mailing list