scikit-build-core icon indicating copy to clipboard operation
scikit-build-core copied to clipboard

Simplify setting cmake-preset

Open LecrisUT opened this issue 1 year ago • 10 comments

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?

LecrisUT avatar Feb 23 '23 13:02 LecrisUT