[CMake] Long command lines

Paul Smith paul at mad-scientist.net
Mon Jun 29 08:20:43 EDT 2015


On Mon, 2015-06-29 at 13:08 +0200, SF Markus Elfring wrote:
> > unfortunately i dont quite understand what you mean with "your
> tool".
> 
> How many efforts would you like to invest so that limitations
> around software like a fortran preprocessor can be circumvented?
> 
> http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_avoid_the_error_.22Arg_list_too_long.22_when_running_make.3F

Just to be clear, this isn't a problem with make per se.  The operating
system itself has a limitation on the amount of data in the environment
(which consists of both environment variables and command line
arguments) that can be passed from one process to its child process.  No
program, whether it's make or something else like the shell, can exceed
that limit.



More information about the CMake mailing list