Documentation issue: 32/64 bit builds
I've constantly seen this question posted everywhere. From stackoverflows, github faqs, cmake discourse, etc.
It is a constant source of confusion for new users of cmake.
How do I build 32/64-bit binaries using cmake?
Here is a selection of questions that all are essentially asking the same thing:
- https://discourse.cmake.org/t/build-for-32-and-64-bit/2329
- https://stackoverflow.com/questions/5805874/the-proper-way-of-forcing-a-32-bit-compile-using-cmake
- https://stackoverflow.com/questions/1272357/how-to-compile-a-32-bit-binary-on-a-64-bit-linux-machine-with-gcc-cmake
- https://stackoverflow.com/questions/6576803/generating-32-bit-64-bit-eclipse-cdt-projects-using-cmake
- https://stackoverflow.com/questions/51350947/cmake-windows-x64-builds
- https://stackoverflow.com/questions/61166486/visual-studio-2019-what-do-i-do-if-i-want-to-compile-a-glfw-solution-as-32-bit
I propose adding another guide to the guides section:
EDIT:
Currently widely used GitHub projects are distributing these instructions to users. Which in a sense is a good thing, but in another sense shows the confusion.
Edited by Ghost User