[CMake] CMake's Xcode generator seems to ignore the CMAKE_CXX_COMPILER variable

Sean McBride sean at rogue-research.com
Tue Feb 24 10:23:04 EST 2009


On 2/24/09 10:01 AM, Bill Hoffman said:

>That will not work with Xcode projects.  I am not sure how you tell 
>Xcode to use a different compiler.  Any Xcode experts out there?

The compiler choice is amongst the project/target settings.  In an
xcconfig file, you would use, for example:

GCC_VERSION = 4.0

or

GCC_VERSION = 4.2


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