<div dir="ltr">A user has <a href="https://gitlab.kitware.com/cmake/cmake/issues/18257">recently been asking</a> about reducing the output coming from a FetchContent population when nothing needs to be done (i.e. the content has already been populated). Because this is implemented as a sub-build, you always see the following extra lines in the main project's configure output (during the main configure, I'm not talking here about the same messages at the end of the main configure):<div><br></div><div><div><font face="monospace, monospace">-- Configuring done</font></div><div><font face="monospace, monospace">-- Generating done</font></div><div><font face="monospace, monospace">-- Build files have been written to: ...</font></div><div><br></div><div>I'm wondering if it makes sense to add support for a <font face="monospace, monospace">--quiet</font> or <font face="monospace, monospace">--silent</font> option to cmake (and probably ccmake and cmake gui) which would skip these messages? It would be an option question whether ordinary status messages and messages which don't set any message mode should still be output for such an option (maybe they would for <font face="monospace, monospace">--quiet</font> but not for <font face="monospace, monospace">--silent</font>). While FetchContent is the motivation for this, perhaps other uses of CMake may also find it useful as well.</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr">Craig Scott<br><div>Melbourne, Australia</div><div><a href="https://crascit.com" target="_blank">https://crascit.com</a><br></div><div><br></div><div>New book released: <a href="https://crascit.com/professional-cmake/" target="_blank">Professional CMake: A Practical Guide</a><br></div></div></div></div></div></div></div>
</div></div>