-
Notifications
You must be signed in to change notification settings - Fork 54
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
cookie-cutter project #539
Comments
I'd recommend first looking at https://github.com/scientific-python/cookie (cookiecutter and copier supported), as well as https://github.com/pybind/scikit_build_example (plain repo). Yes, it's not great navigating a cookiecutter repo directly. It could possibly be rendered into documentation (that's partially done for scientific-python/cookie, some of the code blocks are rendered from the cookie). I don't really want to maintain two cookiecutters (especially at the scale of scientific-python/cookie, which is a guide + cookie with 10+ backends + repo-review plugin, included via WebAssembly in the guide) until it's necessary. What I was thinking is that maybe |
I'm also pushing for better "on" support in cookiecutter - if that makes it in, then having conditional questions would be feasible. Harder to test, but easier to add multiple binding tools only if a compiled backend was selected, for example. Also see https://cliutils.gitlab.io/modern-cmake, my book on Modern CMake. |
Do we include CI tools in there as well? I was thinking for that we only focus on cmake + skbuild-core, and we could reference to a template project otherwise for more details on CI tools and everything.
Good book, I might quote it some times for quick reference ;). I have some notes on some other paradigms that I want to share, but it would be clearer in an example repo. For now, how about if I make a plain repo to first show-case some of the topics I want to highlight. |
Sure, feel free to make something and we can look at it. |
Still working on it, but the WIP is in LecrisUT/CMake-Template#1. There are quite a few comments there, mostly to point out some of the topics to present for the cookie-cutter project and as reminder to add them to the proper documentation about it. |
Btw, I've added documentation to my template project, but could always use more comments and discussion on the ideas in there. My plan is to keep that template as bare-bones like that with just the minimum for a modern CMake project, and then have daughter templates, e.g. python interface, which links back to the base template for the common documentation and builds up on the specific topic. Thoughts? |
I don't know if this is present in a different project, but it would be nice to have a cookie-cutter project to highlight:
In designing and modernizing some CMake projects, I've found quite a few hidden gems that are available in CMake like
FeatureSummary
, the interplay betweenFetchContent
andfind_package
, etc. and I want to share them in a more accessible location. Do you think we can host this here or in a different organization?I'm not familiar with cookie-cutter engines, and I think that could clash with having a plain repo that people can navigate and learn through the documentations and comments. If you know of a good example that have a balanced of these let me know.
The text was updated successfully, but these errors were encountered: