Dizzy wrote: > On Monday 19 November 2007 18:37:02 Josef Karthauser wrote: >> Is it possible (with relative easy) to have cmake send all output to >> stderr instead of stdout? > > Well on a bourne shell I think you can do: > > cmake /path/to/sources 1>&2 > > And it will run cmake redirecting fd 1 (stdout) to fd 2 (stderr). If you need > to further direct the output make sure you write that before "1>&2" part as > in: > > cmake /path/to/sources 2> logfile.txt 1>&2
cmd.exe has limited support for sh-style redirections, so I think you can do things like cmake c:/my/sources >log.txt 2>&1 in your regular windows command prompt. -- /Jesper _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
