valentina/scripts/scan-build.sh
Roman Telezhynskyi 939be86aec Script that helps to run Clang Static Analyzer.
--HG--
branch : develop
2015-10-19 22:50:46 +03:00

10 lines
247 B
Bash
Executable file

#!/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