[CMake] CMake 2.4.6 and Xcode 4.2 on Mac OS X 10.7

Sean McBride sean at rogue-research.com
Tue Nov 8 11:14:28 EST 2011


On Tue, 8 Nov 2011 11:06:46 -0500, David Cole said:

>More info, please...
>
>I assume you mean CMake 2.8.6 and not 2.4.6, as in the subject line... :-)

Doh!

>Are you setting CC and CXX before calling "cmake -G Xcode ../CMake"?

Yes, see:
<http://www.cdash.org/CDash/viewNotes.php?buildid=1705589>

>That's not a valid way of setting the compiler to a different compiler
>with the Xcode generator.

Ah.

>Are you trying to build CMake or some other project?

CMake.

>In reality, the Xcode generator only works 100% reliably well when you
>do not try to specify the compiler, and let Xcode use the one it wants
>to use by default.

OK, I'll just stop specifying it.

Thanks!

-- 
____________________________________________________________
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