-
Notifications
You must be signed in to change notification settings - Fork 47
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
Package multiple configs? #873
Comments
Would make sense for non-python wheels. What is the install process for the libraries in this case? And how would the python library part make sure it is linked to at least one version of the library? I think this would make sense in the editable environment, but I'm not sure about the wheel install part. |
We should look at what py-build-cmake does, as that is supported there. Maybe this would make more sense once we have an install command? |
Currently, scikit-build-core builds a CMake project only once, in
Release
mode by default. It would be useful to be able to additionally packageDebug
binaries.This would involve re-configuring with
-DCMAKE_BUILD_TYPE=Debug
in place and re-running the build for single-config generators (Ninja). For multi-config generators (e.g. Visual Studio), it would need to runcmake --build ... --config Debug
. Then one would simply install to the same prefix.Naturally this should be opt-in, perhaps by setting
cmake.build-type
to a list of types. It might additionally be useful to provide an option to use multiple build directories rather than reconfiguring in place when using a single-config generator. Some projects break under such circumstances.The text was updated successfully, but these errors were encountered: