[CMake] How to make the installation less verbose?
Pere Mato Vila
Pere.Mato at cern.ch
Mon Apr 4 11:23:25 EDT 2011
Thanks for the confirmation.
Cheers,
Pere
On Apr 4, 2011, at 4:44 PM, David Cole wrote:
You didn't miss anything. The code that does this looks like this in Source/cmFileCommand.cxx:
std::string message = (copy? "Installing: " : "Up-to-date: ");
message += toFile;
this->Makefile->DisplayStatus(message.c_str(), -1);
As you can see, it's unconditional, and is always printed as a status message. I checked the caller, too, and there is no way to turn it off at the present time.
HTH,
David
On Mon, Apr 4, 2011 at 10:16 AM, Pere Mato Vila <Pere.Mato at cern.ch<mailto:Pere.Mato at cern.ch>> wrote:
Perhaps I missed something trivial but I do not know how to make the installation step less verbose. I get many (thousands for a large project) of informational messages that nothing was needed to be done when making the 'install' target with Unix make. For example:
-- Up-to-date: /build/mato/ROOT/root_cmake/include/TBranch.h
Is there a way to remove those and only print the ones that do something? Thanks.
-------------------------------------------------------------
Pere Mato CERN, PH Department, CH 1211 Geneva 23, Switzerland
e-mail: pere.mato at cern.ch<mailto:pere.mato at cern.ch> tel: +41 22 76 78696
fax: +41 22 76 68792 gsm: +41 76 48 70855
_______________________________________________
Powered by www.kitware.com<http://www.kitware.com/>
Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake
-------------------------------------------------------------
Pere Mato CERN, PH Department, CH 1211 Geneva 23, Switzerland
e-mail: pere.mato at cern.ch<mailto:pere.mato at cern.ch> tel: +41 22 76 78696
fax: +41 22 76 68792 gsm: +41 76 48 70855
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110404/86ad9129/attachment-0001.htm>
More information about the CMake
mailing list