[Scons-users] coloring compoiler / linker output

Kenny, Jason L jason.l.kenny at intel.com
Wed Sep 3 09:08:01 EDT 2014


Hi,

To enable Parts you will need to add an:
from parts import *

at the beginning of the SConstruct.


Jason


From: Scons-users [mailto:scons-users-bounces at scons.org] On Behalf Of Philipp Kraus
Sent: Sunday, August 31, 2014 1:26 PM
To: scons-users at scons.org
Subject: Re: [Scons-users] coloring compoiler / linker output


The link seems to be okay, but I don't understand how to enable parts in my SConstruct



Phil



On 2014-08-31 12:26:08 +0000, Vasily said:



You may want to have a look at Parts - an extension for SCons, it has the feature of colouring compiler stuff.

They should be located at parts.tigris.org<http://parts.tigris.org/> (but you'd better double-check since I'm posting that from mobile so I'm writing this url from my head).

Thanks,
Vasily

31 авг. 2014 г. 15:59 пользователь "Philipp Kraus" <philipp.kraus at flashpixx.de<mailto:philipp.kraus at flashpixx.de>> написал:

Hello,



I'm interested in coloring the linker / compiler output (for C & C++) like color-gcc. SCons detects the toolset like MSVC oder GCC, so did you have got any idea to create a colored

output, imho I need to color a comand-line ouput with https://pypi.python.org/pypi/colorama for example. The output is cached into a list and I would like to use regexpr to detect the

output lines. Is there a way to a callable structure on the output?



It should be a nice feature
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20140903/3813b46f/attachment-0001.html>


More information about the Scons-users mailing list