openfoam/wmake/rules/linux64Clang/c++Scan
2024-12-12 11:56:39 +00:00

11 lines
460 B
Plaintext

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