[cmake-developers] [CMake 0015612]: ninja generator: "The command line is too long"

Mantis Bug Tracker mantis at public.kitware.com
Fri Jun 12 06:39:05 EDT 2015


The following issue has been SUBMITTED. 
====================================================================== 
http://www.itk.org/Bug/view.php?id=15612 
====================================================================== 
Reported By:                tim blechmann
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   15612
Category:                   CMake
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2015-06-12 06:38 EDT
Last Modified:              2015-06-12 06:38 EDT
====================================================================== 
Summary:                    ninja generator: "The command line is too long"
Description: 
i'm adding many POST_BUILD steps via add_custom_command. at one point, ninja
builds fail with "The command line is too long""

apparently cmLocalNinjaGenerator::BuildCommandLine simply concatenates various
commands via " && " without checking, whether the command line is too long.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2015-06-12 06:38 tim blechmann  New Issue                                    
======================================================================



More information about the cmake-developers mailing list