Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2007-04-23 05:01:17


on Thu Apr 19 2007, "Dave Rahardja" <drahardja-AT-pobox.com> wrote:

> Is there a way to automatically run an exe target after it's been built? I'd
> like to be able to type:
>
> bjam App
>
> to build the app, and
>
> bjam App run=true
>
> Or
>
> bjam App-run
>
> to run it.

  import testing ;

  exe App : ... ;

  testing.run App
   : # cmd-line-args
   : # input-files
   : # requirements
   : App-run # target name
   : # default-build
   ;

HTH,

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
Don't Miss BoostCon 2007! ==> http://www.boostcon.com

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