[CMake] A way to suppress 'make install' output

Michele Santullo michele.santullo at larian.com
Mon Jun 25 04:50:28 EDT 2012


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"
>
> --
>
> 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
>

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

mic



More information about the CMake mailing list