|
Boost-Build : |
From: Malcolm Cifuentes (malcolm_cifuentes_at_[hidden])
Date: 2007-04-27 07:47:59
Hi all,
I have a jamfile that defines some custom rules for compiling bison and
lex files.
I have taken the default bison.jam and lex.jam files, renamed them to
protect the innocent(lets say mybison.jam and mylex.jam), changed the
generator line to reflect the change in file name and added the
appropriate non standard things that need doing in the actions for each.
This works great if you are in the same directory as the Jamfile that
invokes the rules. If I am in another project(Jamfile) that depends on
this project(Jamfile) it seems the default rules for bison and lex kick
in and mine are ignored.
I have using statements for mybison.jam and mylex.jam in my project-
root.jam file at the top of the tree.
so can any one clue me in as to how I make my lex and bison generators
the only ones to be used for a particular Jamfile so any dependant
Jamfiles will correctly invoke my generators?
thanks
malcolm
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