We are currently working on some products that have multiple different microcontrollers (with different compilers as well).
We always use CMake together with ninja, for which a multi-config generator exists.
In our current workflow, we have a CMakePresets.json that specifies configuration presets for the different microcontrollers (using different toolchain files).
The multi-config aspect got me thinking: would it be possible to have use multiple toolchains alongside each other using a multi-config generator as well?
Did anyone every try something like this?