Re: [CMake] CMake Visual Studio 64bit flag?

2010-10-08 Thread aaron.meadows
08, 2010 11:52 AM To: Meadows, Aaron C. Cc: e...@sf-mail.de; cmake@cmake.org Subject: Re: [CMake] CMake Visual Studio 64bit flag? On Fri, Oct 8, 2010 at 12:50 PM, wrote: > Seems to work correctly from my tests: > > > > CMakeLists.txt: > > cmake_minimum_required (VERSION 2.8) >

Re: [CMake] CMake Visual Studio 64bit flag?

2010-10-08 Thread John Drescher
On Fri, Oct 8, 2010 at 12:50 PM, wrote: > Seems to work correctly from my tests: > > > > CMakeLists.txt: > > cmake_minimum_required (VERSION 2.8) > > > > project(test CXX) > > message( STATUS "CMAKE_GENERATOR: ${CMAKE_GENERATOR}") > > message( STATUS "CMAKE_CL_64: ${CMAKE_CL_64}") > > > > > > > >

Re: [CMake] CMake Visual Studio 64bit flag?

2010-10-08 Thread aaron.meadows
Aaron C. Meadows -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Rolf Eike Beer Sent: Friday, October 08, 2010 11:33 AM To: cmake@cmake.org Subject: Re: [CMake] CMake Visual Studio 64bit flag? Am Friday 08 October 2010 schrieb aa

Re: [CMake] CMake Visual Studio 64bit flag?

2010-10-08 Thread Rolf Eike Beer
Am Friday 08 October 2010 schrieb aaron.mead...@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

Re: [CMake] CMake Visual Studio 64bit flag?

2010-10-08 Thread aaron.meadows
w... Aaron C. Meadows From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Peter Clemenko Sent: Friday, October 08, 2010 10:35 AM To: cmake@cmake.org Subject: [CMake] CMake Visual Studio 64bit flag? Hello, I'm trying to work on

Re: [CMake] CMake Visual Studio 64bit flag?

2010-10-08 Thread Mateusz Loskot
Yes, you are right. My mistake. Thanks! Mat On 08/10/10 16:51, David Cole wrote: Either you've got that reversed, or 4 should be 8... right? lib64 should be for an 8-byte void* ... On Fri, Oct 8, 2010 at 11:48 AM, Mateusz Loskot mailto:mate...@loskot.net>> wrote: On 08/10/10 16:42, Mic

Re: [CMake] CMake Visual Studio 64bit flag?

2010-10-08 Thread David Cole
Either you've got that reversed, or 4 should be 8... right? lib64 should be for an 8-byte void* ... On Fri, Oct 8, 2010 at 11:48 AM, Mateusz Loskot wrote: > On 08/10/10 16:42, Michael Jackson wrote: > >> maybe SIZE_OF_VOID_POINTER of whatever that variable is in CMake? >> > > In SOCI library,

Re: [CMake] CMake Visual Studio 64bit flag?

2010-10-08 Thread Mateusz Loskot
On 08/10/10 16:42, Michael Jackson wrote: maybe SIZE_OF_VOID_POINTER of whatever that variable is in CMake? In SOCI library, I use something like this: if(UNIX AND CMAKE_SIZEOF_VOID_P EQUAL 4) set(SOCI_LIBDIR "lib64") else() set(SOCI_LIBDIR "lib") endif() Best regards, -- Mateusz Loskot,

Re: [CMake] CMake Visual Studio 64bit flag?

2010-10-08 Thread Michael Jackson
maybe SIZE_OF_VOID_POINTER of whatever that variable is in CMake? ___ Mike Jackson www.bluequartz.net Principal Software Engineer mike.jack...@bluequartz.net BlueQuartz Software Dayton, Ohio On Oct

[CMake] CMake Visual Studio 64bit flag?

2010-10-08 Thread Peter Clemenko
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 som