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

Philip Lowman philip at yhbt.com
Wed Mar 25 21:44:39 EDT 2009


The rest of the text in that box that is black is printed via
message(STATUS...).  If you don't want your messages to show up red you can
use message(STATUS "Hello World").

The message() command without STATUS is supposed to be a warning, I think.

On Wed, Mar 25, 2009 at 7:59 PM, Robert Dailey <rcdailey at gmail.com> wrote:

> Hi,
> Ever since CMake 2.6.3, the CMake-gui application on Windows has been
> displaying output from the message() function in red, even if it isn't an
> error. For example, if I do this:
>
> message( "Hello World" )
>
> The text "Hello World" will show up in RED. Is this by design? I would
> prefer it show up as black like the rest of the text. Or better yet, an
> option to choose the color would be great!
>
> _______________________________________________
> 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
>



-- 
Philip Lowman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090325/365b2236/attachment.htm>


More information about the CMake mailing list