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

13 lines
288 B
Bash
Executable File

#!/bin/sh
# Allwmake with scan-build (clang)
c_compiler="$(command -v $WM_CC)"
cxx_compiler"$(command -v $WM_CXX)"
set -x
scan-build --use-cc="$c_compiler" --use-c++="$cxx_compiler" \
./Allwmake "$@"
#------------------------------------------------------------------------------