[cmake-developers] [CMake 0015295]: CMake should not concatenate commands for cmd.exe

Mantis Bug Tracker mantis at public.kitware.com
Tue Dec 9 05:30:25 EST 2014


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=15295 
====================================================================== 
Reported By:                Ilya
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15295
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   high
Status:                     new
====================================================================== 
Date Submitted:             2014-12-09 05:30 EST
Last Modified:              2014-12-09 05:30 EST
====================================================================== 
Summary:                    CMake should not concatenate commands for cmd.exe
Description: 
Commands like add_custom_target allows to specify many COMMAND parameters. On
windows it concatenates all values into one big command and then passes to
cmd.exe

Unfortunately cmd.exe has limit of the length of a command that can be passed:
8192.

Therefore CMake should not attempt to concatenate but pass commands to cmd.exe
one by one.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2014-12-09 05:30 Ilya           New Issue                                    
======================================================================



More information about the cmake-developers mailing list