EnzymeAD/Enzyme

Use of CMake Presets

Closed this issue · 1 comments

I was wondering if consideration had been given to the use of CMake Presets. They improve a few aspects of the CMake experience like editor integration and sharing prefab configurations which users can extend with their own custom setups. For instance, I think it could be useful for #1607, where it seems like MSVC specific configurations would be useful.

For some demonstration, I have a branch in my fork where they work to a basic extent with parity with the current configuration options from the Enzyme root CMake project. It needs some tidying, but hopefully it is illustrative enough of the general ideas.

I've never used it before, but go for it!