valentina_old/scripts/scan-build.sh

10 lines
247 B
Bash
Raw Normal View History

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