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

Bill Hoffman bill.hoffman at kitware.com
Tue Feb 24 10:01:59 EST 2009


Stephan Aiche wrote:
> It was an empty directory. Also inspecting the CMakeCache.txt shows
> 
> //C++ compiler
> CMAKE_CXX_COMPILER:FILEPATH=/usr/bin/g++-4.2
> 
> For me it seems, that the generator is ignoring this variable while 
> generating the Xcode project files
> 
> Stephan
> 

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?

-Bill


More information about the CMake mailing list