Hi
I try to automate the code generation with cmake, which should be some add_custom_command.
However, I see flatbuffers carry a FindFlatBuffers.cmake file, which is supposed to provide some out-of-box cmake add_custom_command support.
I see there is a function
FLATBUFFERS_GENERATE_C_HEADERS
that accepts a list of ".fbs" files and generate the header. But neither do the generated source appear, nor can I add a target to force the generation.
Have anybody use this one successfully? Could anyone give some cmake code examples on using it?
Thanks a lot
Ralph