Re: [CMake] working around gcc version bug in xocde generator

2010-03-30 Thread David Cole
didn’t say that it had been released yet, just that it was in > cvs. Sorry for the trouble. Thanks! > > > > *From:* David Cole [mailto:david.c...@kitware.com] > *Sent:* Tuesday, March 30, 2010 7:59 > *To:* Simmons, Aaron > *Cc:* cmake@cmake.org > *Subject:* Re: [C

Re: [CMake] working around gcc version bug in xocde generator

2010-03-30 Thread Simmons, Aaron
Ah, the bug didn't say that it had been released yet, just that it was in cvs. Sorry for the trouble. Thanks! From: David Cole [mailto:david.c...@kitware.com] Sent: Tuesday, March 30, 2010 7:59 To: Simmons, Aaron Cc: cmake@cmake.org Subject: Re: [CMake] working around gcc version bug in

Re: [CMake] working around gcc version bug in xocde generator

2010-03-30 Thread David Cole
With CMake 2.8.1, you can, in your CMakeLists.txt file: set(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION "4.2") Or, more precisely: set(CMAKE_XCODE_ATTRIBUTE_GCC_VERSION "com.apple.compilers.gcc.4_2") This is part of the bug fix for http://public.kitware.com/Bug/view.php?id=9125 which was included in the 2.

[CMake] working around gcc version bug in xocde generator

2010-03-29 Thread Simmons, Aaron
My project requires using gcc 4.0 when compiling on Mac OS X, as it has to support 10.4. This works fine for the makefile generator, but it breaks with the XCode generator for Xcode 3.2 as the default gcc is v4.2. Other posts on this list indicates that it's a bug in the Xcode generator. I wo