Boost logo

Boost-Build :

From: YiSu CangHai (yisu.canghai_at_[hidden])
Date: 2007-11-28 13:34:47


I was wondering how to do following thing using bjam:
1. Build a parser tool in Jamfile, for example:
    exe parser : source file ... ;

2, Then run the parser to generate other files.

3. The generated files will be used in Jamfile to build other targets.

If I use unit-test to build parser and let it run, it will only run once
when the parser is built successfully. Not anymore after that.
I can not use ALWAYS either, becasue I don't wnat the parser tool itself
being rebuild everytime it is used to parse something.

Can anyone show me the correct way? Thanks in advance.



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