[cmake-developers] [CMake 0015793]: nmake "U1095" too long command line error

Mantis Bug Tracker mantis at public.kitware.com
Thu Oct 15 12:09:06 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
https://public.kitware.com/Bug/view.php?id=15793 
====================================================================== 
Reported By:                M.B.
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15793
Category:                   CMake
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-10-15 12:09 EDT
Last Modified:              2015-10-15 12:09 EDT
====================================================================== 
Summary:                    nmake "U1095" too long command line error
Description: 
Building a library for android on windows with nmake I encountered the error
"NMAKE: fatal error U1095 expanded command line '...really_long_line...' too
long"

The problem was fixed by setting cmake to use response files e.g.
SET(CMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS).
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-10-15 12:09 M.B.           New Issue                                    
======================================================================



More information about the cmake-developers mailing list