##// END OF EJS Templates
Ajout des règles vera++
Ajout des règles vera++

File last commit:

r14:5bce99742c6f
r24:31a39fecd50d
Show More
launch-clang-analyzer-linux.sh
20 lines | 663 B | application/x-sh | BashLexer
/ analyzer / launch-clang-analyzer-linux.sh
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