Keywords: MSBuild, Specify Platform, cmake

MSBuild Command:

MSBuild yourproject.sln /p:Configuration=Release /p:Platform=x64

e.g. Full command:

cmake -DBUILD_SHARED_LIBS=OFF -DGLFW_BUILD_EXAMPLES=OFF -DGLFW_BUILD_TESTS=OFF -DGLFW_BUILD_DOCS=OFF -DUSE_MSVC_RUNTIME_LIBRARY_DLL=OFF -G "Visual Studio 16 2019" -A x64
MSBuild GLFW.sln /p:Configuration=Release /p:Platform=x64

Origin:
https://stackoverflow.com/a/29311331/1645289


Just because someone doesn't love you as you wish, it doesn't mean you're not loved with all his/her being. ― Gabriel García Márquez