[CMake] CMake's Xcode generator seems to ignore the CMAKE_CXX_COMPILER variable
mathieu.malaterre at gmail.com
Tue Feb 24 10:28:19 EST 2009
On Tue, Feb 24, 2009 at 4:23 PM, Sean McBride <sean at rogue-research.com> wrote:
> 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
> GCC_VERSION = 4.2
This would mean extracting the major.minor from: "gcc -dumpversion" ...
More information about the CMake