[Gtkradiant] scan-build scons

John Smith lbalbalba at gmail.com
Sun Oct 14 13:39:29 EDT 2012


Hi,


Im trying to run the LLVM/clang static source code analyzer
(scan-build) on gtkradiant. scan-build normally works by overriding
the environment variables CC and CXX, so you can run the analyzer this
way :

scan-build make

However, this approach does not seem to work with scons. Is there a
way I can override the compiler used when using scons ?


Regards,


John Smith


More information about the Gtkradiant mailing list