Here is the short of it.
I have a toolchain. The toochain specifies these variables:
CMAKE_RC_COMPILER=.../rc.exe CMAKE_CXX_COMPILER= .../cl.exe CMAKE_C_COMPILER= .../cl.exe etc...
I update the toolchain to use a newer compiler/sdk etc.
This didn’t seem to be a problem with Visual Studio as it succeeded just fine. (Which is a problem in itself in my opinion)
However, this fails on Ninja with the following error message.
-- Configuring done You have changed variables that require your cache to be deleted. Configure will be re-run and you may have to reset some variables. The following variables have changed:
Granted I don’t have to delete the build. I just need to rerun cmake. But is there anything I can do to avoid this problem? Because it’s pretty jaring to developers on our current team to have this error.