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

Attachment: NinjaUseResponseFile.patch
Description: Binary data



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

--

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

Reply via email to