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.