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

Peter Kümmel syntheticpp at gmx.net
Sun Jun 3 16:55:05 EDT 2012


On 03.06.2012 01:02, Claus Klein wrote:
> 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!

Are you sure? Here (Ubuntu) ar lists @<file> as option.

>
> 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

In the depths of the macro files interpreted at runtime.
You have to search for the strings in ...\CMake 2.8\share\cmake-2.8

>
> 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
>


More information about the CMake mailing list