[Gtkradiant] scan-build scons

Timothee Besset ttimo at ttimo.net
Tue Oct 16 12:20:05 EDT 2012


Pretty sure you can pass them on the command line without modifying the
code too. Glad you found a way though.

TTimo

On Tue, Oct 16, 2012 at 11:08 AM, John Smith <lbalbalba at gmail.com> wrote:

> Hrm.
>
> Looks like the environment is already explicitly imported at the top
> of 'SConstruct' :
>
> import sys, os, platform, cPickle
>
> And the compiler gets set in config.py :
>
> env['CC'] = self.cc
> env['CXX'] = self.cxx
>
> Changing that in config.py to this :
>
> env['CC'] = os.getenv("CC")
> env['CXX'] = os.getenv("CXX")
>
> and then running
>
> scan-build scons
> (which overrides CC and CXX)
>
> Seems yo do the trick
>
>
>
> Thanks for the help,
>
>
> Regards,
>
>
> John Smith.
> _______________________________________________
> Gtkradiant mailing list
> Gtkradiant at icculus.org
> http://icculus.org/mailman/listinfo/gtkradiant
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/gtkradiant/attachments/20121016/ed70ab40/attachment.htm>


More information about the Gtkradiant mailing list