[jamming] Executing shell command, save results to variable

Gary Gendel gary at icmanage.com
Wed Feb 28 08:51:58 PST 2007


Diane,

Any chance of sharing your vision and some of your enhancements with us? I would
love to see a back-tick capability for Jam.

Gary

Diane Holt wrote:
> 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
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> jamming mailing list  -  jamming at perforce.com
> http://maillist.perforce.com/mailman/listinfo/jamming

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gary.vcf
Type: text/x-vcard
Size: 295 bytes
Desc: not available
Url : http://maillist.perforce.com/pipermail/jamming/attachments/20070228/d7a9e496/gary.vcf


More information about the jamming mailing list