Cmake on windows: why is the default generator setting 32 bit?

It would be much better if the default setting was 64 bit instead.

Hi there;

What about if your system was not 32 bit!
Please explain a bit more. What project do you want to build and compile?

cmake . -DCMAKE_GENERATOR_PLATFORM=x64

Generator-specific target platform specification provided by user.

https://cmake.org/cmake/help/latest/variable/CMAKE_GENERATOR_PLATFORM.html

Usually, there is a way to set it at CMAKE and it mostly depends on Project and OS.

Best;