[CMake] How to make the installation less verbose?

David Cole david.cole at kitware.com
Mon Apr 4 10:44:30 EDT 2011


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> 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      tel: +41 22 76 78696
>          fax:  +41 22 76 68792            gsm: +41 76 48 70855
>
>
> _______________________________________________
> Powered by 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110404/737fd94e/attachment.htm>


More information about the CMake mailing list