[CMake] Cross-compilation related question

Xiangyun Kong xykong at yahoo.com
Tue Aug 25 12:56:56 EDT 2009


Thanks. After I use the new generator, it always looks for the 32 bit
 cl.exe  at vc_root/VC/bin, 
and complain that the cl.exe does not work, even though I set the
PATH as vc_root/VC/bin/x86_amd64.

I used to use NMake Makefile, which does not complain about that.

Xiangyun

--- On Tue, 8/25/09, Tyler Roscoe <tyler at cryptio.net> wrote:

> From: Tyler Roscoe <tyler at cryptio.net>
> Subject: Re: [CMake] Cross-compilation related question
> To: "Xiangyun Kong" <xykong at yahoo.com>
> Cc: cmake at cmake.org
> Date: Tuesday, August 25, 2009, 1:05 AM
> On Tue, Aug 25, 2009 at 12:08:10AM
> -0700, Xiangyun Kong wrote:
> > I am trying to do a cross-compilation with CMake. I
> got a problem 
> > in creating a 64-bit shared library on a Win32
> platform.
> > The problem is the CMAKE is always appending the
> > /machine:I386 following my arch setup /machine:x64.
> 
> Use the "Visual Studio 200X Win64" generator instead of the
> "Visual
> Studio 200X" generator.
> 
> tyler
> 


More information about the CMake mailing list