From the question https://stackoverflow.com/questions/66197941/defining-lex-include-files-for-flexers we are already knowing that there is no lex distribution known that has an include file facility for e.g. rules into a lex file.
The suggestion there was to write one's own pre-processor and that there might be some around.
- Does there exist a (f)lex pre-processor to include files?
- Does this work together with CMake as now there are some dependencies on the include file.