@philix ? You have to include generated files in `*.c` files. Just you have to include *different* generated files: those that contain only static declarations.

`*.h.generated.h` files containing non-static declarations are generated separately because it is possible that they will be distributed in a separate packages alongside with non-generated `*.h` files. So I generate them separately and I put them  in a separate directory from `*.c.generated.h` (well, will put if somebody can say how to tell cmake what I want: see my last comment).