[cmake-developers] [CMake 0013385]: Ninja: LINK_LIBRARIES not spilled to response file

Mantis Bug Tracker mantis at public.kitware.com
Mon Jul 9 06:03:42 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13385 
====================================================================== 
Reported By:                Zaheer Chothia
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13385
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-07-09 11:03 WAT
Last Modified:              2012-07-09 11:03 WAT
====================================================================== 
Summary:                    Ninja: LINK_LIBRARIES not spilled to response file
Description: 
* Command line length is limited on Windows.
* To alleviate this, CMake places object files into a response file, but the
  same is not done for libraries.
* This can pose a problem when the link line becomes too long.


Steps to Reproduce: 
See attached testcase generator.

Additional Information: 
I am primarily interested in a solution for the Ninja generator, although this
issue affects other generators too (e.g. NMake, MinGW Makefiles).  For further
discussion see the mailing list:
http://www.cmake.org/pipermail/cmake/2012-June/051065.html
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-07-09 11:03 Zaheer Chothia New Issue                                    
2012-07-09 11:03 Zaheer Chothia File Added: testcase.sh                      
======================================================================




More information about the cmake-developers mailing list