OSDN Git Service

scons: Add an analyze option.
authorJosé Fonseca <jfonseca@vmware.com>
Mon, 14 Apr 2014 13:31:02 +0000 (14:31 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 16 Apr 2014 10:44:21 +0000 (11:44 +0100)
commitd3c0e236f23e66cb2b4a75f5161282b2d15ff73f
treec964c28fc459b05069f844dee78dc9416e7b2b76
parentf81305c0cbb0e233435a26f5e2a8a38dd752c25e
scons: Add an analyze option.

For Clang static code analyzer, the scan-build script will produce more
comprehensive output.  Nevertheless you can invoke it as

  CC=clang CXX=clang++ scons analyze=1

For MSVC this is the best way to use its static code analysis.  Simply
invoke as

  scons analyze=1

Reviewed-by: Brian Paul <brianp@vmware.com>
common.py
scons/gallium.py