[CMake] message() text shows up as RED in cmake-gui

Robert Dailey rcdailey at gmail.com
Thu Mar 26 00:02:27 EDT 2009


It's been my understanding that calling message() without STATUS, WARNING,
or ERROR was a STATUS by default. Considering that when I use both WARNING
and ERROR the output looks different. Dialogs will appear and such. Are
message() and message( STATUS ) not identical? If not, what are the
differences? Why are they different?

On Wed, Mar 25, 2009 at 9:51 PM, Michael Jackson <
mike.jackson at bluequartz.net> wrote:

> Would it be possible to do what compilers do: prepend status lines with
> "STATUS", warning with "WARNING" and error with "ERROR". That makes it
> easier to grep if needed and may help pull attention to each type of output.
>
>  Just thinking out loud...
>
> ---
> Mike Jackson                 www.bluequartz.net
>
>
> On Mar 25, 2009, at 10:43 PM, Philip Lowman wrote:
>
>  On Wed, Mar 25, 2009 at 9:59 PM, Clinton Stimpson <clinton at elemtech.com>
>> wrote:
>>
>> The intent I get from the documentation is that its a message that is
>> meant to say something important.  It pops up in the CMakeSetup, shows up in
>> the error section of ccmake, and stdout of cmake.
>>
>> Maybe cmake-gui should show it bold or something instead of red, which I
>> also think of as an error.
>>
>> The color might be a minor problem but another is that the messages will
>> get buried if there is a lot of STATUS.
>>
>> As much as I hate the popup in CMakeSetup I have to wonder if burying a
>> warning that used to emit a popup so the user may have to scrollback to even
>> see it is necessarily a good change.
>>
>> Perhaps a popup should be added again (obviously leaving some kind of
>> bold/colored output in place).  A simple checkbox on the bottom that says
>> "Skip future warning messages during this configure" or something like that
>> would be far better than how CMakeGui handles the case of multiple popups
>> becoming disruptive.
>>
>> --
>> Philip Lowman
>>
>
> _______________________________________________
> 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/20090325/6bc34938/attachment.htm>


More information about the CMake mailing list