Re: [cmake-developers] CMake, Xcode 4.4, and Mountain Lion

2012-08-01 Thread Óscar Fuentes
Brad King writes: > On 07/31/2012 03:43 PM, Brad King wrote: >> Thanks for pointing us to that. I just merged a fix to next: >> >> http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=27b74445 > > Well, that caused major test failures on almost every OS X > build during nightly testing. I had t

Re: [cmake-developers] CMake, Xcode 4.4, and Mountain Lion

2012-08-01 Thread Brad King
On 07/31/2012 03:43 PM, Brad King wrote: > Thanks for pointing us to that. I just merged a fix to next: > > http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=27b74445 Well, that caused major test failures on almost every OS X build during nightly testing. I had to revert it: http://cmake.or

Re: [cmake-developers] CMake, Xcode 4.4, and Mountain Lion

2012-07-31 Thread Brad King
On 07/30/2012 10:53 PM, Óscar Fuentes wrote: > Something related to this issue is being commented on the LLVM ml rigth > now: while searching for compilers, CMake prefers gcc over cc and that > is causing trouble: > > http://comments.gmane.org/gmane.comp.compilers.llvm.devel/52263 Thanks for poin

Re: [cmake-developers] CMake, Xcode 4.4, and Mountain Lion

2012-07-30 Thread Óscar Fuentes
Ho Cheung writes: [snip] > Since Xcode uses clang but CMAKE_C_COMPILER is set to gcc, the gcc > compiler flags are being passed to clang. Something related to this issue is being commented on the LLVM ml rigth now: while searching for compilers, CMake prefers gcc over cc and that is causing tro

Re: [cmake-developers] CMake, Xcode 4.4, and Mountain Lion

2012-07-27 Thread Brad King
On 07/27/2012 12:50 PM, Ho Cheung wrote: > If this is the case, how would one go about enabling compiler options > specifically for Xcode? > > My project currently supports gcc and msvc which I check with > CMAKE_COMPILER_IS_GNUCC or MSVC variables respectively. > > Since Xcode uses clang but C

Re: [cmake-developers] CMake, Xcode 4.4, and Mountain Lion

2012-07-27 Thread Ho Cheung
If this is the case, how would one go about enabling compiler options specifically for Xcode? My project currently supports gcc and msvc which I check with CMAKE_COMPILER_IS_GNUCC or MSVC variables respectively. Since Xcode uses clang but CMAKE_C_COMPILER is set to gcc, the gcc compiler flags

Re: [cmake-developers] CMake, Xcode 4.4, and Mountain Lion

2012-07-27 Thread Brad King
On 07/26/2012 01:10 PM, Ho Cheung wrote: > Xcode generator and Configure my project, I noticed that CMAKE_C_COMPILER > is pointing to /usr/bin/gcc. AFAIK the Xcode generator has always left CMAKE_*_COMPILER set to values that it doesn't really use for generation. It should probably be taught to d

[cmake-developers] CMake, Xcode 4.4, and Mountain Lion

2012-07-26 Thread Ho Cheung
Hi developers, As some of you have heard, Apple released Mountain Lion yesterday alongside a new release of Xcode (4.4). Back in XCode 4.2, Apple decided to make the clang/LLVM compiler the default in XCode Whenever I run the Xcode generator and Configure my project, I noticed that CMAKE_C_CO