On Fri, Nov 4, 2011 at 8:37 AM, <[email protected]> wrote: > Hello, > > I've got a big project using cmake. > Several applications are build as native 64 bits applications, but I need to > build one application as a 32 bit application. > cmake is run from the Visual Studio 64 console. > > Is it possible to force a 32 compilation using cmake ? > > Best regards, > > YC > -- >
Hi, You are looking for the -G switch. exemple for VS 2010 : cmake -G"Visual Studio 10" => 32bit cmake -G"Visual Studio 10 Win64" => 64bit Look into cmake documentation for the generator names of other VS versions. Cheers, Mourad -- 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
