I 100% agree.

I have a tool in Parts here: 
https://bitbucket.org/sconsparts/parts/src/6a57ea6ae48acf491cda5ab8c1d45fd53d4543c2/parts/tools/clang.py?at=master&fileviewer=file-view-default
 

There are some different options that can show up and a great options to have ( 
given we have some better configuration support in SCons ) is to have added the 
to force color output. This is also true for gcc in newer versions. The force 
of color allows for the useful and pretty output that clang provides to the 
users, that is turned off otherwise, because we are redirecting text output 
through a pipe 

Jason

-----Original Message-----
From: Scons-dev [mailto:scons-dev-boun...@scons.org] On Behalf Of Russel Winder
Sent: Wednesday, June 21, 2017 6:22 AM
To: SCons_Developers <scons-dev@scons.org>
Subject: [Scons-dev] SCons and Clang

For SCons 3.0 we really ought to have clang and clang++ tools as standard out 
of the box with no hacking needed. As I understand it, Clang follows GCC 
command line options, though I guess there are variations. So as a first stab, 
I'll create clang.py and clang++.py by copying and amending gcc.py and
g++.py.

Assuming someone hasn't already done this, and assuming no-one can see a fault 
with the line of reasoning.

--
Russel.
=============================================================================
Dr Russel Winder     t:+44 20 7585 2200   voip:sip:
russel.win...@ekiga.net
41 Buckmaster Road   m:+44 7770 465 077   xmpp:rus...@winder.org.uk
London SW11 1EN, UK  w: www.russel.org.uk skype:russel_winder
_______________________________________________
Scons-dev mailing list
Scons-dev@scons.org
https://pairlist2.pair.net/mailman/listinfo/scons-dev

Reply via email to