[CMake] Compiling universal binaries for Mac OS X

Jaroslav Snajdr jsnajdr at kerio.com
Thu Nov 10 05:21:04 EST 2005


Hi all!
  
  We use CMake to build our software on Mac OS X and right now we are  trying to port the program to the Intel Mac platform. Apple has support  for creating so-called universal binaries. I compile one executable for  PPC, one executable for Intel and finally I merge them into one file  (universal binary) with Apple-supplied "lipo" utility.
  
  Is there any support in CMake for this kind of build process? Is anyone  else on this list also going to build universal binaries for Mac OS X?  I'd like to share any tips or knowledge.
  
  At this moment, it seems to me that the best option would be creating a  Xcode project file and build the program using Xcode and the generated  project file, using built-in Xcode ability to produce universal  binaries.
  
  Regards,
  Jaroslav Snajdr
  Kerio Technologies
  
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20051110/e61c950f/attachment.htm


More information about the CMake mailing list