Skip to content

Move lemon parser generation into build directory

Ian McInerney requested to merge imcinerney/kicad:im/lemon into master

This MR redoes the way the lemon parsers are generated and stored in the code tree. Before, they are generated once and then committed into the code tree - which is not ideal because it makes recreating them due to changes difficult and convoluted. This MR moves them to be generated inside the build directory, so now every fresh build will generate them. Then, it will only regenerate the grammars if the actual grammar file is newer than the generated parser file, so for most people this shouldn't happen.

This requires that lemon be added as a build dependency now, so the nightly builds must add this before this can be merged, see:

Fixes #5013 (closed)

Merge request reports