cannot set the compiler per dependency
Some of our dependencies require a more or less recent version of the compiler. For instance, Gadgetron requires GCC>6, but say CUDA SDK 8 requires GCC <5 which makes building impossible.
It'd be good to be able to set the version of the compiler per project.
you dare to enter the murky waters of ABI compatibility between different gcc versions? Brave!
In the above case, I'd suggest "build Gadgetron somewhere, but the CUDA stuff somewhere else".
Now the situation is even worse with Gadgetron requiring GCC 9.
Maybe it'd be good to build Gadgetron indipendently?
See https://github.com/SyneRBI/SIRF-SuperBuild/issues/482