By default, CMakeTools picks a generator of his choosing.
In my system, by default, CMake Tools is picking Ninja to be the generator, instead of the desired Unix Makefiles (stored in CMakeCache.txt as CMAKE_GENERATOR:INTERNAL=Ninja)
When doing by hand cmake -B build in my system, CMakeCache.txt contains CMAKE_GENERATOR:INTERNAL=Unix Makefiles
Thus I set my current settings.json in $workspace/.vscode to
{
"C_Cpp.default.configurationProvider": "ms-vscode.cmake-tools",
"cmake.generator": "Unix Makefiles",
}
but when configuring, it still picks Ninja.
What am I doing wrong?