[CMake] CMake Visual Studio 64bit flag?
Rolf Eike Beer
eike at sf-mail.de
Fri Oct 8 12:32:43 EDT 2010
Am Friday 08 October 2010 schrieb aaron.meadows at thomsonreuters.com:
> Is this not sufficient: (from "Variables That Describe the System")
>
> CMAKE_CL_64: Using the 64 bit compiler from Microsoft
>
> Set to true when using the 64 bit cl compiler from Microsoft.
>
> This is what I'm intending on using, so if this won't work, I'll need to
> know...
IIRC that doesn't work if you use the Studio generator (i.e. not Makefiles). So
this needs to be something like "if (CMAKE_CL_64 or CMAKE_GENERATOR MATCHES
Win64)"
Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101008/dc714206/attachment.pgp>
More information about the CMake
mailing list