Re: [cmake-developers] ninja failing CompileCommandOutput

2012-06-04 Thread Bill Hoffman
On 6/1/2012 1:55 PM, Brad King wrote: The generator is supposed to produce a file that lists all the compiler invocation command lines in a JSON format. The test runs a build with the option and then runs a program that reads the generated file and re-plays the commands. The test and its C++

Re: [cmake-developers] ninja failing CompileCommandOutput

2012-06-04 Thread Brad King
On 06/04/2012 10:25 AM, Bill Hoffman wrote: On 6/1/2012 1:55 PM, Brad King wrote: The generator is supposed to produce a file that lists all the compiler invocation command lines in a JSON format. The test runs a build with the option and then runs a program that reads the generated file and

Re: [cmake-developers] [CMake] Nina Generator on Windows generates too long link cmd lines

2012-06-04 Thread Peter Kümmel
On 04.06.2012 17:59, Bill Hoffman wrote: We are you using the linker support for response files? I thought ninja was handling this with its own response files? rspfile, rspfile_content rule link command = link.exe /OUT$out [usual link flags here] @$out.rsp rspfile = $out.rsp

Re: [cmake-developers] [CMake] Nina Generator on Windows generates too long link cmd lines

2012-06-04 Thread Bill Hoffman
On 6/4/2012 2:22 PM, Peter Kümmel wrote: We use ninja's response files: # Rule for linking CXX static library. rule CXX_STATIC_LIBRARY_LINKER command = E:\sandbox\MinGW32\bin\ar.exe cr $out $LINK_FLAGS @$out.rsp description = Linking CXX static library $out rspfile = $out.rsp

[cmake-developers] Welcome to June, time for the next release candidate

2012-06-04 Thread David Cole
We are preparing to build CMake 2.8.9, release candidate one, in the next few days (or possibly as late as next week). Is there any pending/outstanding work that anybody thinks is critical for inclusion in CMake 2.8.9? (I don't want to trigger a flurry of activity by sending this out... but I

Re: [cmake-developers] ninja failing CompileCommandOutput

2012-06-04 Thread Stephen Kelly
Bill Hoffman wrote: That does not show up on the dashboard because of this: IF(${CMAKE_TEST_GENERATOR} MATCHES Makefiles OR ${CMAKE_TEST_GENERATOR} MATCHES Ninja) SET(TEST_CompileCommandOutput 1) ENDIF() Isn't the CMAKE_TEST_GENERATOR STREQUAL NMake Makefiles, and therefore should

Re: [cmake-developers] Adding logic to CMake for -fPIE and -fPIC

2012-06-04 Thread Stephen Kelly
Stephen Kelly wrote: Brad King wrote: The current implementation can be refactored in a way that should make Xcode easy. Then simply use the patch below for Xcode. Great, thanks, all done. I'll merge it into next next week when I can look at the dashboard. I've merged it now.

Re: [cmake-developers] Welcome to June, time for the next release candidate

2012-06-04 Thread Stephen Kelly
David Cole wrote: We are preparing to build CMake 2.8.9, release candidate one, in the next few days (or possibly as late as next week). Is there any pending/outstanding work that anybody thinks is critical for inclusion in CMake 2.8.9? I'd very much like the POSITION_INDEPENDENT_CODE

Re: [cmake-developers] ninja failing CompileCommandOutput

2012-06-04 Thread Stephen Kelly
Brad King wrote: On 06/04/2012 10:25 AM, Bill Hoffman wrote: On 6/1/2012 1:55 PM, Brad King wrote: The generator is supposed to produce a file that lists all the compiler invocation command lines in a JSON format. The test runs a build with the option and then runs a program that reads the