[CMake] Cross compiling for Windows x64/amd64 on 32-bit Windows

Arindam Mukherjee arindam.mukerjee at gmail.com
Mon Oct 1 16:35:55 EDT 2012


Hi,

I have a Windows XP build setup with Visual Studio 2008 SP1 and
Windows SDK 6. I have set up a CMake project for a source base that is
built on Linux, Solaris, AIX and Windows. So far I have managed to get
the Windows 32-bit build going but cannot make the x64 cross-compile
work.

It seems that CMake generates 32-bit builds even when I initialize the
64-bit build system (vcvarsall.bat x64). What is the correct way to
set such a build up.

Thanks,
Arindam


More information about the CMake mailing list