ninja generator: "The command line is too long"
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
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.