[CMake] Universal Binary Support on OS X 10.4

Sean McBride sean at rogue-research.com
Fri Nov 2 10:23:43 EDT 2007


On 11/1/07 10:35 AM, Mike Jackson said:

>I am on a MacBook Pro and need to compile for PPC. I launch ccmake  
>and set CMAKE_OSX_ARCHITECTURES to ppc. I then generate and then run  
>make VERBOSE=1. What gets produced is still an i386 binary though.
>
>    If I manually put in -arch ppc into both the c and c++ compile  
>flags then I get a ppc build. Is this the way it is supposed to work  
>or am I missing something.

You are missing:
<http://public.kitware.com/Bug/view.php?id=3618>

It would be great if you could test the CVS CMake, the fix was long to
arrive and fraught with little issues.

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada



More information about the CMake mailing list