Re: [CMake] Building for 64 bit with Visual Studio 2013

2015-02-05 Thread Klaim - Joël Lamotte
I think adding a simple check (fatal-error) on the value of CMAKE_SIZEOF_VOID_P in your cmake files would help the user realise that they are not using the right generator? -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FA

Re: [CMake] Building for 64 bit with Visual Studio 2013

2015-02-04 Thread Scott Aron Bloom
Thanks. :( From: Nils Gladitz [mailto:nilsglad...@gmail.com] Sent: Wednesday, February 04, 2015 11:53 AM To: Scott Aron Bloom; cmake@cmake.org Subject: Re: [CMake] Building for 64 bit with Visual Studio 2013 On 04.02.2015 20:44, Scott Aron Bloom wrote: That was it! Is there any way to set that

Re: [CMake] Building for 64 bit with Visual Studio 2013

2015-02-04 Thread Nils Gladitz
On 04.02.2015 20:44, Scott Aron Bloom wrote: That was it! Is there any way to set that as the default? Ie, is there an environmental variable that sets the default generator? Not as far as I know. Maybe you could set up a batch script that invokes cmake with your preferred generator and f

Re: [CMake] Building for 64 bit with Visual Studio 2013

2015-02-04 Thread Scott Aron Bloom
] Building for 64 bit with Visual Studio 2013 On 04.02.2015 20:28, Scott Aron Bloom wrote: We have been building for 32 bits on windows, and 64 bit on linux and OSX for a while. In order to enable this, we have a simple function that uses CMAKE_SIZEOF_VOID_P to add a define via add_defintions However

Re: [CMake] Building for 64 bit with Visual Studio 2013

2015-02-04 Thread Nils Gladitz
On 04.02.2015 20:28, Scott Aron Bloom wrote: We have been building for 32 bits on windows, and 64 bit on linux and OSX for a while. In order to enable this, we have a simple function that uses CMAKE_SIZEOF_VOID_P to add a define via add_defintions However, we are now going to build for win

[CMake] Building for 64 bit with Visual Studio 2013

2015-02-04 Thread Scott Aron Bloom
We have been building for 32 bits on windows, and 64 bit on linux and OSX for a while. In order to enable this, we have a simple function that uses CMAKE_SIZEOF_VOID_P to add a define via add_defintions However, we are now going to build for windows 64, I calling vsvarsall.bat with x64 as a pa