0a1d8c1aaa
This moves the generated files out of the source tree and into the build directory. They are now regenerated each time they are needed, based on the timestamp of the generated file compared to the timestamp of the lemon file. To do this, we also bundle lemon into the thirdparty directory and build it for ourselves since it is a very tiny program and not all platforms seem to distribute it in a consistent manner. Fixes https://gitlab.com/kicad/code/kicad/issues/5013 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
README.md | ||
lemon.c | ||
lempar.c |
README.md
This directory contains the lemon parser main program file and template file. It is used for building several parsers in common, and is provided because not all distributions package it in a nice way. Note, this program is not installed with KiCad and is only used as a build-time utility.
The files come from:
- lempar.c - https://www.sqlite.org/src/file/tool/lempar.c
- lemon.c - https://www.sqlite.org/src/file/tool/lemon.c
It has been released into the public domain with the sqlite project.