flatcc icon indicating copy to clipboard operation
flatcc copied to clipboard

Add cmake helper function to simplify code generation

Open wdobbe opened this issue 5 years ago • 1 comments

Add a cmake function that will take one or more flatbuffer definition files and an output directory. The function will then generate the C files in that directory.

This prevents code duplication in cmake files.

Pull request will follow.

wdobbe avatar Dec 16 '20 11:12 wdobbe

OK, please be careful with dependencies for Ninja because CMake is somewhat broken in that respect.

mikkelfj avatar Dec 16 '20 11:12 mikkelfj