Script that helps to run Clang Static Analyzer.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-10-19 22:50:46 +03:00
parent 047f53e2ec
commit 939be86aec

9
scripts/scan-build.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
# Helps to run Clang Static Analyzer.
# Please, run this script from folder <root_folder>/scripts.
cd ..
rm -rfv build
mkdir build
cd build
qmake ../Valentina.pro -r -spec linux-clang
scan-build --use-cc clang --use-c++ clang++ make -j4