##// END OF EJS Templates
Initialisation de la configuration Linux
Initialisation de la configuration Linux

File last commit:

r14:5bce99742c6f
r14:5bce99742c6f
Show More
launch-clang-analyzer-linux.sh
20 lines | 663 B | application/x-sh | BashLexer
/ analyzer / launch-clang-analyzer-linux.sh
mperrinel
Initialisation de la configuration Linux
r14
QT_PATH=".../Qt/5.8/gcc_64/lib/cmake/"
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
scan-build cmake -DCMAKE_PREFIX_PATH=$QT_PATH -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/
scan-build -o clang-analyzer-output make -j2