Boost logo

Boost-Build :

From: Jaroslav Gresula (jgresula_at_[hidden])
Date: 2006-02-28 16:31:33


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
}
#--

Now, I would like to have an install rule which copies both generated files to a
specified location, e.g. something like this:

#-- Jamfile
cpp output : def.swg ;

install install
  :
  output
  :
  <install-dependecies>on
  <location>.
  ;
#--

This copies only output.cpp as bjam has no clue about output.py. Is there a way
how one can specify that also output.py is bound to the output target?

Thanks,
Jarda


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