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 2011/10/26 Ludovic Hoyet <lho...@gmail.com> > Ok, that's why I couldn't find any solution... It will be a little less > handy to have different sln files, but that should make it. > > Thanks anyway, > > Ludovic > > > 2011/10/26 Bill Hoffman <bill.hoff...@kitware.com> > >> On 10/26/2011 9:18 AM, Ludovic Hoyet wrote: >> >>> Hi, >>> >>> I am trying to generate VCproj for Visual Studio 32 and 64bit, and I >>> would like to have the possibility to have both the 32bit version and >>> the 64bit version in a single sln file. For this in Visual studio I can >>> set the platform to x^$ for the configurations that I want, but I need >>> to do it by hand every time. >>> >>> Is there a way to set the platform for a given configuration in CMake? >>> >>> At the moment, I manage to define the Debug, Release, Debug_x64 and >>> Release_x64 configurations, but the platform is either Win32 or x64 for >>> all of them. I do not manage to get the x64 for only the corresponding >>> configurations. >>> >>> Any idea about how to set this ? It is because we don't want to have to >>> generate two projects, one for 32 and one for 64 bit applications... >>> >>> Currently, there is no way to do this with CMake, they have to be >> separate build trees. >> >> -Bill >> >> -- >> >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at http://www.kitware.com/** >> opensource/opensource.html<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<http://www.cmake.org/Wiki/CMake_FAQ> >> >> Follow this link to subscribe/unsubscribe: >> http://www.cmake.org/mailman/**listinfo/cmake<http://www.cmake.org/mailman/listinfo/cmake> >> > > > > -- > _______________________________________ > > Ludovic Hoyet > Research Fellow, > Graphics Vision and Visualisation group, > Trinity College Dublin > http://www.scss.tcd.ie/~hoyetl/ > > -- _______________________________________ 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