[CMake] How to suppress output like "-- Checking whether C ", etc.?
Bill Hoffman
bill.hoffman at kitware.com
Mon Aug 13 18:00:36 EDT 2012
On 8/13/2012 5:38 PM, Peng Yu wrote:
> According to the common linux philosophy, mostly status messages like
> this are suppressed in other tools unless otherwise instructed.
> Therefore, I think that it may be better to suppress these messages by
> default and add an option in cmake to enable them when users want
> these messages. After all, when cmake runs successfully, these
> messages are useless and just make the output look ugly.
This is really modeled after autoconf and its generated configure
scripts. I don't think there is a way to disable the output of a
configure script as it does checks. I think this is very common to
linux users doing builds. Also, the information is useful as it gives a
progress to the user, and something to report to developers when
something goes wrong.
-Bill
More information about the CMake
mailing list