[CMake] Nina Generator on Windows generates too long link cmd lines

Peter Kümmel syntheticpp at gmx.net
Sat Jun 2 08:58:40 EDT 2012


On 02.06.2012 12:03, Peter Kümmel wrote:
> Hi Claus,
>
> great you've started working on this!
>
> I fixed your TODO and pusjed it to stage:
> http://cmake.org/gitweb?p=stage/cmake.git;a=commitdiff;h=242f152c392882c88c47f4bcc3dc52a3431d2968
>
> CMake could now be build with msvc and mingw (when CMAKE_RC_COMPILER is set).
>

But it breaks mingw, because ar.exe doesn't like single backslashes in the rsp file.
With attached patch also mingw works. At least with -j1, otherwise there a access conflicts.

I've no idea how other build systems handle this.

Peter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rsp_slash.patch
Type: text/x-patch
Size: 708 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120602/1b4acf45/attachment.bin>


More information about the CMake mailing list