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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to