[CMake] CMake Visual Studio 64bit flag?

aaron.meadows at thomsonreuters.com aaron.meadows at thomsonreuters.com
Fri Oct 8 12:23:26 EDT 2010


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...

 

Aaron C. Meadows 

________________________________

From: cmake-bounces at cmake.org [mailto:cmake-bounces at cmake.org] On Behalf
Of Peter Clemenko
Sent: Friday, October 08, 2010 10:35 AM
To: cmake at cmake.org
Subject: [CMake] CMake Visual Studio 64bit flag?

 

Hello, I'm trying to work on creating a precompiled binary package for a
project I'm working on, and I was wondering if there was any way to
configure CMake to select a folder based on whether or not the 64bit
version of Visual studio was selected for the library path. The library
path would be something similar to:

 

lib

|-vs8

|--x86

|--x64

|-vs9

|--x86

|--x64

|-vs10

|--x86

|--x64

 

Is there any flag I can use in my Find.cmake files in order select the
library path based on if 64 bit or 32 bit is selected?

 

Thanks,

Peter



This email was sent to you by Thomson Reuters, the global news and information company.
Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Thomson Reuters.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101008/1ffdb78c/attachment.htm>


More information about the CMake mailing list