cmake make install
This is a wiki page. Be bold and improve it!
If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.
Verbosity
Problem
make install is very verbose with cmake.
Unfortunately, there is no way to configure the output.
Solutions
Set CMAKE_INSTALL_MESSAGE to LAZY or NEVER:
https://cmake.org/cmake/help/latest/variable/CMAKE_INSTALL_MESSAGE.html
However CMAKE_INSTALL_MESSAGE LAZY may still not suppress some "Up-to-date" messages generated, depending on the exact command used to install the files.
Other workarounds include:
suppressing all the output:
make install > /dev/null
redirect output to file:
make install &> filename.txt
log output:
make install |& tee make_install.log
filtering the output:
make install | grep -v '^Up-to-date: '
An alias can easily be set up for your favourite solution.