At the moment, the build.bat and the CMakePresets.json set various environment variables to trigger a build with the old compiler.
The modfied variables are extensive, but there are also variables that are still set by Visual Studio.
We might consider two possible approaches:
- Trying to reduce the set variables in length and number to a minimum.
- Trying to override as much as possible to avoid calls to newer systems.
This task is essentially optional, either meant to reduce clutter or improve precision.