[cmake-developers] Custom commands with Ninja on Windows
Tim Blechmann
tim at klingt.org
Sat Jun 13 02:07:35 EDT 2015
> I'm having some issues with Ninja on Windows with long custom commands
> (or actually a long succession of short commands appended to the same
> target). The problem is that they get concatenated in one single command
> using " && " and it is pretty easy to go over the 8k command line size
> limit on Windows.
>
> So I've been thinking that on Windows, instead of concatenating
> everything, we should be a script that is run using a response file that
> just runs all the command with error checking. Eventually, we could
> reuse cmLocalVisualStudioGenerator::ConstructScript() for that matter.
>
> Any thought about this? Any hint for implementing this myself in the
> Ninja generator? Do you think of another way to fix this issue?
came across this issue as well:
http://www.itk.org/Bug/view.php?id=15612
More information about the cmake-developers
mailing list