[CMake] Adding cross-compiler support to CMake ...

Brad King brad.king at kitware.com
Thu Sep 7 10:15:34 EDT 2006


Sean McBride wrote:
> I'd just like to mention that the Mac community would dearly love to see
> cross-compilation support in cmake.
> 
> Are you familiar with Apple's concept of a "Universal Binary":
> <http://en.wikipedia.org/wiki/Universal_binary>

CMake 2.4 does support universal binaries on OSX.  Just do

  export CMAKE_OSX_ARCHITECTURES="ppc;i386"

before running CMake.

-Brad


More information about the CMake mailing list