Re: [cmake-developers] Use OBJECT_DEPENDS in qt4_generate_moc() ?

2012-07-27 Thread David Cole
On Fri, Jul 27, 2012 at 4:27 PM, Alexander Neundorf wrote: > On Thursday 05 July 2012, David Cole wrote: > >> On Thu, Jul 5, 2012 at 12:29 PM, Clinton Stimpson >> wrote: > >> > On Thursday, July 05, 2012 06:20:56 PM Alexander Neundorf wrote: > >> >> On Thursday, 5. July 2012 17:37:21 Clinton Stim

Re: [cmake-developers] Use OBJECT_DEPENDS in qt4_generate_moc() ?

2012-07-27 Thread Alexander Neundorf
On Thursday 05 July 2012, David Cole wrote: > On Thu, Jul 5, 2012 at 12:29 PM, Clinton Stimpson wrote: > > On Thursday, July 05, 2012 06:20:56 PM Alexander Neundorf wrote: > >> On Thursday, 5. July 2012 17:37:21 Clinton Stimpson wrote: > >> > On Friday, June 15, 2012 09:56:51 PM Alexander Neundor

Re: [cmake-developers] [CMake] ADD_DEPENDENCIES() and NonExisitngDependent is NOT an error?

2012-07-27 Thread David Cole
Sorry I don't have the bandwidth to chime in on this very much, but just so you don't waste any more of your time on this (unless you're really passionate about it and would do it anyhow...): I'm not going to rush a change like this into CMake just before the 2.8.9 release. The best possible scen

Re: [cmake-developers] [CMake] ADD_DEPENDENCIES() and NonExisitngDependent is NOT an error?

2012-07-27 Thread Claus Klein
Third try ... I have a Problem to really break the generation if the target does not exist: claus-kleins-macbook-pro:build clausklein$ /Users/clausklein/Downloads/ CmakeBuildDir/bin/cmake -G Ninja .. -- Configuring done CMake Error: Policy CMP0019 is not set: add_dependencies() Dependent ta

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

[cmake-developers] CMake coverage

2012-07-27 Thread Rolf Eike Beer
I was just wondering: have there ever existed plans to add code coverage support for CMake files? This could be a cool project for something like Google Summer of Code or something like that, no? Eike signature.asc Description: This is a digitally signed message part. -- Powered by www.kitwar

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

Re: [cmake-developers] [CMake] ADD_DEPENDENCIES() and NonExisitngDependent is NOT an error?

2012-07-27 Thread Claus Klein
Update, new patch with policy handling uploaded. http://public.kitware.com/Bug/view.php?id=9188 Not sure if all is right, but as a basis for integration... Claus On 26.07.2012, at 23:25, Claus Klein wrote: Thanks David, here is my patch, I have tested it today which "ninja Experimental"