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

CMake integration with moo render-many #6

Open
brettviren opened this issue Nov 13, 2020 · 0 comments
Open

CMake integration with moo render-many #6

brettviren opened this issue Nov 13, 2020 · 0 comments
Assignees

Comments

@brettviren
Copy link
Owner

A moo render-many determines the generated file names from the model itself.

In order for a build system like CMake to drive a moo render-many it must know:

  • the names of files to be generated
  • the name of the model file and any implicit dependencies
  • the name of the template file and any implicit dependencies

This first one adds a new wrinkle. The latter two can already be discovered by moo imports and the moo.cmake support via CMake function moo_codegen() makes use of that.

What is then needed is something equivalent to moo imports that dumps the keys of a model that will be used in a moo render-many. And, this file needs to be dumpable in a CMake format like moo imports can do now.

@brettviren brettviren self-assigned this Nov 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant