Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-03-01 02:51:48


On Wednesday 01 March 2006 00:31, Jaroslav Gresula wrote:
> I have a custom generator which produces two files: .cpp and .py
>
> #-- swig.jam
> type.register SWIG : swg ;
> generators.register-standard swig.swig-file : SWIG : CPP ;
>
> actions swig-file
> {
> # invokes an application which generates .cpp and .py files
> }

Then, your generator should be defined as:

   generators.register-standard swig.swig-file : SWIG : CPP PY ;

If you don't tell Boost.Build all the truth about tool behaviour, bad things
will happen ;-)

HTH,
Volodya


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