Date: 2005-02-28 06:12:31
I'm working with a rather curious component-type system. This requires at
one stage in the build that I create a code generation executable, and
then run this executable with a fixed list of arguments (class names)
to generate interface .h and .c files.
I.e. I need to be able to do something like this:
$ gcc -o generate a.c b.c
$ ./generate One Two Three
$ gcc -o target if_one.c if_two.c if_three.c
I guess I can make 'generate' an explicity dependency of 'target', but how
do I indicate that generate should be run with a fixed set of arguments once
Also, can I later include 'generate' (a rather multi-pupose program) in
a generator action? Will its directory be on the path? I.e. can I do
type register IN in ;
type register OUT out ;
generators.register-standard generate.transform : IN : OUT ;
generate $(<) $(>)
Any/all hints most gratefully received. Thanks.
-- Jim Hague - jim_at_[hidden] Never trust a computer you can't lift.
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