[CMake] Causing cmake to use stderr instead of stdout.
Dizzy
dizzy at roedu.net
Mon Nov 19 11:47:30 EST 2007
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
--
Mihai RUSU Email: dizzy at roedu.net
"Linux is obsolete" -- AST
More information about the CMake
mailing list