On Tue, Sep 16, 2014 at 03:11:38PM +0200, BIENKOWSKI Guillaume wrote:
This is an option, yes: shipping the generated C files would remove the
dependency to the Antlr executable.
We might be able to place a git hook to do that, I'll discuss with the
other guys here to see if they are up to it.
On the other hand, you can't do the dependency trick with make easily,
since when you check out through git you basically have a pristine setup.
We would have to do something like md5 the .g files and only trigger Antlr
when the md5 has changed. I'm not aware of a simple way to do that.
There is also the possibily to use a C antlr code generator and
remove the java one from the SDK dependency tree:
https://github.com/antlr/antlr3/tree/master/runtime/C