Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cmake helper function to simplify code generation #168

Closed
wdobbe opened this issue Dec 16, 2020 · 1 comment
Closed

Add cmake helper function to simplify code generation #168

wdobbe opened this issue Dec 16, 2020 · 1 comment
Labels

Comments

@wdobbe
Copy link

wdobbe commented Dec 16, 2020

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants