dvidelabs / flatcc

FlatBuffers Compiler and Library in C for C
Apache License 2.0
632 stars 180 forks source link

Add cmake helper function to simplify code generation #168

Closed wdobbe closed 8 months ago

wdobbe commented 3 years ago

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.

mikkelfj commented 3 years ago

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