scikit-build-core
scikit-build-core copied to clipboard
Simplify setting cmake-preset
I'm thinking if we can pass conditional cmake flags based on the optional dependencies or other parameter that we can pass to pip install .
.
This came up when thinking about how to code-coverage a python-C binding. If we build with the --coverage
flags, then in principle we should be able to trigger those during pytest
and resolve the information with lcov
. But we also don't want to ship it with those flags on. So any advice on how to design this?
Also related, being able to configure via cmake-preset?