[CMake] CMake and iPhone support
Bill Hoffman
bill.hoffman at kitware.com
Fri Apr 10 21:20:23 EDT 2009
Robert Dailey wrote:
> It seems that CMake, in general, does not support cross-compilation. It
> generates projects as if they will build targets on the current platform
> instead of for another. Correct me if I'm wrong.
>
http://www.cmake.org/Wiki/CMake_Cross_Compiling
The env and cache variable CMAKE_OSX_ARCHITECTURES can be used to build
different architectures on OSX. I have not tried with the iphone, but
it works with ppc, i386, i686.
-Bill
More information about the CMake
mailing list