There's no official support that I've ever seen for it, but because Clang generally plays nice with GCC it's usually possible to make it work just by tweaking the environment a little. I actually wrote some small tools as part of a project I work on (OpenMAMA) to support clang, and the static analyzer - they basically inherit from GCC's tools, and set a few other parameters. You can see the code for them here:
http://git.openmama.org/?p=OpenMAMA.git;a=tree;f=site_scons/site_tools;h=9f43e04b2e170548c2a115b21efef80d18b5bdcd;hb=refs/heads/next I wouldn't go so far as to suggest they'll stand up to much of a test, but they've been suitable for my requirements. Cheers, D On Mon, Jan 5, 2015 at 11:48 AM, Russel Winder <[email protected]> wrote: > Is it my imagination or is there no support for Clang in SCons? > > -- > 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
