From: Rene Rivera (grafik.list_at_[hidden])
Date: 2005-12-08 22:59:00
Patrick Tan wrote:
> I need to run a unix script prior to starting compilation and I was
> wondering if I can somehow specify inside the Jamfile to run the unix
> script before starting compilation.
> I read a section in the boost-build v2 documentation
> http://www.boost.org/doc/html/bbv2/faq/external.html but I don't think
> that is what I want to do, I just want to run the script and that's it I
> don't need to capture the output for use as the compile and link inputs.
Interesting that FAQ is by now out of date. The latest bjam can run, and
capture if needed, a command with the SHELL builtin, with 3.1.11 and
also COMMAND with 3.1.12. We don't really have one that doesn't capture
the output, so if you want to be optimal you can redirect to /dev/null.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - Grafik/jabber.org
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