openfoam/wmake/rules/linux64Clang/cScan
Mark Olesen 7bf25dbda1 ENH: add 'Scan' WM_COMPILE_OPTION (clang only)
- backend settings for scan-build
2019-01-02 11:49:49 +01:00

8 lines
272 B
Plaintext

# Static analyzer with clang and Opt.
# Call top-level Allwmake with 'scan-build' and corresponding compiler
include $(DEFAULT_RULES)/cOpt
c_compiler := $(shell which clang)
cc := $(shell echo "$(c_compiler)" | sed -e 's@/bin/[^/]*@/libexec/ccc-analyzer@') -m64