[CMake] A way to suppress 'make install' output
marco atzeri
marco.atzeri at gmail.com
Mon Jun 25 05:04:21 EDT 2012
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
More information about the CMake
mailing list