[CMake] Building for 64 bit with Visual Studio 2013

Scott Aron Bloom scott.bloom at onshorecs.com
Wed Feb 4 14:28:07 EST 2015


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 parameter, however, the CMAKE_SIZEOF_VOID_P still is equal to 4.

Any idea on what Im missing?

Scott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150204/3a8adf06/attachment.html>


More information about the CMake mailing list