On Tue, Oct 2, 2012 at 2:48 AM, Xavier Besseron <xavier.besse...@uni.lu> wrote: > Hi, > > I was able to build win64 executable on my 32-bit Windows. > > First, I had to make the "full installation" of VS 2008 (the "default > installation" did not provide the win64 compiler in my case). Then, I > had to select the "Visual Studio 9 2008 Win64" generator in CMake. And > the project built correctly. > > However, it is not possible to execute the generated binaries on a > 32-bit Windows. > >
Thanks! That works perfectly. From a driver batch script, I now use: cmake -G "Visual Studio 9 2008 Win32" src_dir and: cmake -G "Visual Studio 9 2008 Win64" src_dir This, I guess, should work even if I move to a 64-bit build machine. Thanks again. Arindam -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake