I have not tried it, but you could just follow my CMake guide and test it yourself: viewtopic.php?p=554037#p554037
In the CMake process, just choose x86 (32-bit) instead of x64 and check if it works.
But I have to ask, why would you want to build Ogre as 32-bit?
Almost no one uses 32-bit Windows anymore, just check the hardware survey from Steam (https://store.steampowered.com/hwsurvey ... m=combined, at least 98% from the visible data uses 64-bit, and I can not see any 32-bit OS anywhere):
Windows - 96.67%
Windows 10 64 bit - 54.40%
Windows 11 64 bit - 41.61%
Windows 7 64 bit - 0.49%
Windows 8.1 64 bit - 0.08%
OSX - 1.38%
MacOS 14.3.1 64 bit - 0.27%
MacOS 14.2.1 64 bit - 0.24%
MacOS 14.4.0 64 bit - 0.14%
MacOS 14.0.0 64 bit - 0.06%
Linux - 1.94%
"Arch Linux" 64 bit - 0.15%
Ubuntu 22.04.4 LTS 64 bit - 0.11%
Linux Mint 21.3 64 bit - 0.07%
"Manjaro Linux" 64 bit - 0.07%