launch-clang-analyzer-linux.sh
18 lines
| 594 B
| application/x-sh
|
BashLexer
/ analyzer / launch-clang-analyzer-linux.sh
mperrinel
|
r14 | |||
export CC=/usr/libexec/ccc-analyzer | ||||
export CXX=/usr/libexec/c++-analyzer | ||||
export CCC_CC=clang | ||||
export CCC_CXX=clang++ | ||||
export LD=clang++ | ||||
export CCC_ANALYZER_VERBOSE=1 | ||||
LD_LIBRARY_PATH=/usr/local/lib64 | ||||
export LD_LIBRARY_PATH | ||||
rm -rf build_clang-analyzer | ||||
mkdir build_clang-analyzer | ||||
cd build_clang-analyzer | ||||
r28 | scan-build cmake -DCMAKE_CXX_COMPILER=clazy -DENABLE_ANALYSIS=false -DENABLE_CPPCHECK=false -DENABLE_FORMATTING=false -DENABLE_CHECKSTYLE=false -BUILD_DOCUMENTATION=false -BUILD_TESTS=false -DCMAKE_BUILD_TYPE=Debug ../../SCIQLOP-Initialisation/ | |||
mperrinel
|
r14 | |||
scan-build -o clang-analyzer-output make -j2 | ||||