A user has recently been asking <https://gitlab.kitware.com/cmake/cmake/issues/18257> 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):
-- Configuring done -- Generating done -- Build files have been written to: ... I'm wondering if it makes sense to add support for a --quiet or --silent 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 --quiet but not for --silent). While FetchContent is the motivation for this, perhaps other uses of CMake may also find it useful as well. -- Craig Scott Melbourne, Australia https://crascit.com New book released: Professional CMake: A Practical Guide <https://crascit.com/professional-cmake/>
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: https://cmake.org/mailman/listinfo/cmake-developers