On 6/25/2012 10:50 AM, Michele Santullo wrote:
On 06/25/2012 10:42 AM, marco atzeri wrote:
On 6/25/2012 10:29 AM, Stefan Eilemann wrote:
Hi,

I'm looking for a way to suppress the output when installing a
project: One of our projects installs a large directory structure, and
the resulting 'make install' output is so noisy that finding other
errors in parallel builds is next to impossible.

Does somebody have an idea?


Cheers,

Stefan.


make install &> filename

no output at all and everything in the "filename"

--


Suppressing would be more like redirecting to /dev/null.
Use just > to keep eventual messages on stderr.

mic


my solution saved the output.  /dev/null is not very verbose ;-)

In general a good learning point is
http://tldp.org/LDP/abs/html/io-redirection.html

My preference will be to save all the log on different files
and to not suppress anything

make |& tee make_build.log
make install |& tee make_install.log

It is a personal taste of course

Regards
Marco
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to