[CMake] Nina Generator on Windows generates too long link cmd lines
Claus Klein
claus.klein at arcormail.de
Sat Jun 2 19:02:11 EDT 2012
Hi Peter,
after a quick test with our code, I found again the problem with unix
ar utile for static libs. it does not support a linker response file!
And is is not clear to me who sets this cache values:
CMAKE_CXX_RESPONSE_FILE_LINK_FLAG:STRING=-Wl,@
CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS:BOOL=TRUE
CMAKE_C_RESPONSE_FILE_LINK_FLAG:STRING=-Wl,@
CMAKE_C_USE_RESPONSE_FILE_FOR_OBJECTS:BOOL=TRUE
I have found a problem if ninja is not at a std path installed. So the
rules.ninja files should use the absolute path to ninja executable.
Here my final Version.
Claus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: NinjaUseResponseFile.patch
Type: application/octet-stream
Size: 8827 bytes
Desc: not available
URL: <http://www.cmake.org/pipermail/cmake/attachments/20120603/3d972be7/attachment.obj>
-------------- next part --------------
On 02.06.2012, at 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).
>
> Peter
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list