ENH: add 'Scan' WM_COMPILE_OPTION (clang only)

- backend settings for scan-build
This commit is contained in:
Mark Olesen
2019-01-02 11:49:49 +01:00
parent 4ecdb2512d
commit 7bf25dbda1
3 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,7 @@
# Static analyzer with clang and Opt.
# Call top-level Allwmake with 'scan-build' and corresponding compiler
include $(DEFAULT_RULES)/c++Opt
cxx_compiler := $(shell which clang++)
CC := $(shell echo "$(cxx_compiler)" | sed -e 's@/bin/[^/]*@/libexec/c++-analyzer@') -std=c++11 -m64