<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Trebuchet MS";
        panose-1:2 11 6 3 2 2 2 2 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Tahoma","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#1F497D">'cmd.exe' does support color in a sense (see 'COLOR /?'), but not in a terribly useful way (in my opinion); more importantly, is doesn't support the escape sequences that are
 necessary for cmake color support.&nbsp; One used to be able to do this on windows by loading ansi.sys, but that no longer works.&nbsp; However, if you're interested, there's a program called 'ansicon' that provides enough of an emulation of ansi.sys to support basic
 color support (at least).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><a href="http://adoxa.110mb.com/ansicon/index.html">http://adoxa.110mb.com/ansicon/index.html</a><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#1F497D">I've used it a few times, and it seems to work well, though I can't say that I've really tested it, and I should mention that I'm also fairly new to cmake, so it's quite possible
 that I'm missing something.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#1F497D">Installing ansicon should allow you to see color messages.&nbsp;
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#1F497D">If you're interested in creating your own via something function-ish, you might also want to take a look at the 'colormsg' function in 'BoostUtils.cmake' which is part of the
 cmake enabled version of Boost.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><a href="http://gitorious.org/boost/cmake/blobs/1.41.0/tools/build/CMake/BoostUtils.cmake#line230">http://gitorious.org/boost/cmake/blobs/1.41.0/tools/build/CMake/BoostUtils.cmake#line230</a><o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Good luck,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">mm<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal"><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;color:#1F497D">&nbsp;<o:p></o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:10.0pt;
font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;
font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> cmake-bounces@cmake.org [mailto:cmake-bounces@cmake.org]
<b>On Behalf Of </b>Dmytro Ovdiienko<br>
<b>Sent:</b> Sunday, January 10, 2010 13:46<br>
<b>To:</b> cmake@cmake.org<br>
<b>Subject:</b> Re: [CMake] Coloured output for cmake on windows<o:p></o:p></span></p>
</div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:
12.0pt;margin-left:.5in">
Vikas,<br>
<br>
Error and Warning messages are colored.<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-left:.5in">2010/1/9 Chauhan, Vikas &lt;<a href="mailto:vikas.chauhan@anritsu.com">vikas.chauhan@anritsu.com</a>&gt;<o:p></o:p></p>
<div>
<p style="margin-left:.5in"><span lang="EN-GB" style="font-size:10.0pt;
font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">Hi,</span><o:p></o:p></p>
<p style="margin-left:.5in"><span lang="EN-GB" style="font-size:10.0pt;
font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">I guess there is no end to wishes &amp; this is another</span><span lang="EN-GB">
</span><span lang="EN-GB" style="font-size:10.0pt;font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">example of it.</span><o:p></o:p></p>
<p style="margin-left:.5in"><span lang="EN-GB" style="font-size:10.0pt;
font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">Is it possible to get a coloured output on windows using a build command like: cmake</span><span lang="EN-GB">
</span><span lang="EN-GB" style="font-size:10.0pt;font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">&#8211;-build .</span><span lang="EN-GB">
</span><span lang="EN-GB" style="font-size:10.0pt;
font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">?</span><o:p></o:p></p>
<p style="margin-left:.5in"><span lang="EN-GB" style="font-size:10.0pt;
font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">Currently is it because dos cmd window</span><span lang="EN-GB">
</span><span lang="EN-GB" style="font-size:10.0pt;font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">doesn&#8217;t support it or there is</span><span lang="EN-GB">
</span><span lang="EN-GB" style="font-size:10.0pt;font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">some other reason?</span><o:p></o:p></p>
<p style="margin-left:.5in"><span lang="EN-GB" style="font-size:10.0pt;
font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">Thanks,</span><o:p></o:p></p>
<p style="margin-left:.5in"><span lang="EN-GB" style="font-size:10.0pt;
font-family:&quot;Trebuchet MS&quot;,&quot;sans-serif&quot;">Vikas</span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:.5in"><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">
http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">
http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:.5in"><o:p>&nbsp;</o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Gray" size="2">This e-mail and any files transmitted with it may be proprietary and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this e-mail in error please notify the
 sender.<br>
Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of ITT Corporation. The recipient should check this e-mail and any attachments for the presence of viruses. ITT accepts no
 liability for any damage caused by any virus transmitted by this e-mail.<br>
</font>
</body>
</html>