[CMake] Don't list Up-to-date files during install

Ben Morgan bmorgan.warwick at gmail.com
Thu Oct 24 11:47:53 EDT 2019


Hi Jason,

See the CMAKE_INSTALL_MESSAGE variable:

https://cmake.org/cmake/help/v3.16/variable/CMAKE_INSTALL_MESSAGE.html <https://cmake.org/cmake/help/v3.16/variable/CMAKE_INSTALL_MESSAGE.html>

setting this to “LAZY” should do what you want.

Cheers,

Ben.

> On 24 Oct 2019, at 16:44, Jason Beach <jason.m.beach at gmail.com> wrote:
> 
> When installing files, cmakes prints a list of all files that are to be installed, even if some of those files are already installed and up-to-date (i.e. installed from a previous build).  If the file is not installed or out-of date, cmake prints "Installing: ..." and if a file was already installed and didn't change it prints "Up-to-date: ..."
> 
> Is there a way to suppress listing all of the up-to-date files and only show the files that are being installed because they changed?  Some of the libraries we use install a ton of files and if we change only one it's difficult to find and verify that one was installed among the sea of up-to-date files.
> 
> Thanks,
> Jason
> -- 
> 
> 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

-- 
==================
Dr. Ben Morgan
Senior Research Fellow
Department of Physics
University of Warwick
Coventry CV4 7AL
==================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20191024/ffd7e4aa/attachment.html>


More information about the CMake mailing list