Hi there, Would this only support compiling with clang, or would you also intend in some ways to handle clang static analysis tool (scan-build wrapper which btw can use clang or gcc as a compiler)?
2017-06-21 15:15 GMT+02:00 Jason Kenny <[email protected]>: > 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:[email protected]] On Behalf Of Russel > Winder > Sent: Wednesday, June 21, 2017 6:22 AM > To: SCons_Developers <[email protected]> > 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: > [email protected] > 41 Buckmaster Road m:+44 7770 465 077 xmpp:[email protected] > London SW11 1EN, UK w: www.russel.org.uk skype:russel_winder > _______________________________________________ > Scons-dev mailing list > [email protected] > https://pairlist2.pair.net/mailman/listinfo/scons-dev >
_______________________________________________ Scons-dev mailing list [email protected] https://pairlist2.pair.net/mailman/listinfo/scons-dev
