[cmake-developers] sporadic build failures with ninja

Brad King brad.king at kitware.com
Tue May 20 10:52:34 EDT 2014


On 05/20/2014 10:19 AM, clinton at elemtech.com wrote:
> when cmcldeps calls cmSystemTools::RunSingleCommand(),
> the stderr and stdout are merged inconsistently.
[snip]
> I'm not sure if cmcldeps can be changed to ignore stderr

KWSys.Process does treat stdout/stderr separately and has
many options to control them.  It can even be told to connect
the child process stderr directly to that of the parent
process.  RunSingleCommand does this with OUTPUT_PASSTHROUGH
for both pipes.  It could be taught another option to do
this only for stderr.  Or, cmcldeps could use KWSys Process
directly the way it needs instead of using RunSingleCommand.

As Nils pointed out, "deps=msvc" is already preferred.

-Brad




More information about the cmake-developers mailing list