Hi Brad, Finally got around to fix this properly. Let me know what you think.
Cheers /Johan On Mon, May 16, 2011 at 6:58 PM, Brad King <[email protected]> wrote: > On 05/16/2011 10:05 AM, Johan Björk wrote: > > Would it be possible to change the verbose flag to output the results > > on the corresponding stream as it was read on? > > Instead replace the verbose boolean with an enumeration that chooses > among off, on, or split verbosity. > > > I don't quite understand the StdoutCallback and Error callbacks inside > > cmSystemTools. Anyone can tell me what they are used for? > > IIRC they're used inside cmake-gui to capture the output of child > processes for display in the window instead of the real stdout and > stderr. > > > See attached patch. Not sure if I propose it, as it will break for > > anyone expecting all output in stdout. I guess we could introduce a > > --no-merge-output or something flag. > > That makes sense. The flag would just map through to the proper > argument of RunSingleCommand. > > -Brad >
0001-Replace-the-verbose-flag-in-cmSystemTools-RunSingleC.patch
Description: Binary data
_______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
