-
Notifications
You must be signed in to change notification settings - Fork 55
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
Support cmake presets #790
Comments
It just occurred to me that you can just overwrite $ cmake --preset default -B /path/to/scikit-build-build Heck, you can even do this: $ cmake -S .. --preset=default -B other-build It would not work for build/test/workflow presets though, but should those even be supported right now? What about for first pass to add |
I think overriding the binaryDir probably makes sense; in which case, is there anything that we could provide that would be better than doing I think we should make a new |
Agree, that would make more sense. Maybe even
Effectively it should be
I mean we can't override the |
Duplicate of #515? |
Yes, there are actually 3+ such issues :). But occasionally inspiration strikes |
Another thing that would be nice if we supported presets explicitly: https://github.com/orgs/scikit-build/discussions/1115#discussioncomment-10488748 |
You mean reading the |
Why is parsing needed? Can you not just generate the buildsystem and then use the file API or something? |
We need to know what build system is expected before we declare |
I just found #515 (comment)... would be nice if this wasn't scattered across multiple issue tickets. |
Example: https://github.com/1yefuwang1/vectorlite/blob/main/setup.py
We should add a preset option, maybe
cmake.preset
, and then we can try to read the values from here that affect us, likebinaryDir
.The text was updated successfully, but these errors were encountered: