> I noticed that there is cmake binary package for Windows x64. Should a
> 32-bit cmake (under syswow6432) be adequate for all cmake tasks? If
> not, what is the right way to build cmake for 64-bit. I tried building
> it on a 32-bit build server using the 64 bit generator (this build
> server routi
Except that you have CMAKE_SYSTEM_PROCESSOR == "x86" (event for "Win64"
generators) in your CMake files along with all search paths which sometimes
very inconvenient.
On Fri, Oct 12, 2012 at 5:31 PM, John Drescher wrote:
> > I noticed that there is cmake binary package for Windows x64. Should a
> Except that you have CMAKE_SYSTEM_PROCESSOR == "x86" (event for "Win64"
> generators) in your CMake files along with all search paths which sometimes
> very inconvenient.
I am not sure that has ever caused me a problem on any of the 64 bit
applications I have written. The only problem I had with
> -Original Message-
> From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On
> Behalf Of John Drescher
> Sent: Monday, October 15, 2012 7:49 AM
> To: Yuri Timenkov
> Cc: cmake@cmake.org
> Subject: Re: [CMake] cmake on Windows x64
>
> Having CMAKE_SYSTEM_PROCESSOR be "x86" for a 64-bit build is very
> inconvenient when detecting machine-dependent compiler flags, constructing
> directory names for outputs based on configuration, configuring third party
> search directories, etc. It's always possible to work around (among ot
On Monday, October 15, 2012 01:37:42 PM John Drescher wrote:
> > Having CMAKE_SYSTEM_PROCESSOR be "x86" for a 64-bit build is very
> > inconvenient when detecting machine-dependent compiler flags,
> > constructing directory names for outputs based on configuration,
> > configuring third party searc
> -Original Message-
> From: Clinton Stimpson [mailto:clin...@elemtech.com]
> Sent: Monday, October 15, 2012 1:41 PM
> To: cmake@cmake.org
> Cc: John Drescher; Gregory Peele ARA/VHD
> Subject: Re: [CMake] cmake on Windows x64
>
> On Monday, October 15, 2012 01:37:4
The 32 vs 64 bit switch based on pointer size is not sufficient. To be 100%
correct you shall be able to differentiate between x86_64 and IA-64
(However I think it's quite rare case). And to me personally condition with
target architecture looks better than CMAKE_CL_64 or checking the size of
point