Ok, thanks for the answer, I will leave it like this and tell the developpers to select the correct generator in the list (we use cmake-gui) if they want the x64 version.
Thanks 2011/10/26 John Drescher <[email protected]> > On Wed, Oct 26, 2011 at 10:17 AM, Ludovic Hoyet <[email protected]> wrote: > > Just to know, is there a way to set the platform in the CMakeList? At the > > moment if I select VS_XXX if creates uses the Win32 platform, and the x64 > is > > used if I select VS_XXX x64. I would like to set a variable to the > default > > platform (no pb with that), and let the users modify if if they really > want > > (therefore create a Win32 platform from VS_XXX x64 if that's what they > want, > > from setting this variable)... > > Thanks > > > > You do this by setting the generator. I would not hardwire that in a > CMakeLists.txt file. Instead if you want create a batch file that > calls cmake.exe with the appropriate generator.. > -- _______________________________________ Ludovic Hoyet Research Fellow, Graphics Vision and Visualisation group, Trinity College Dublin http://www.scss.tcd.ie/~hoyetl/
-- 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
